|
Originally posted by James Carman: That's EXACTLY who this post was inteded for! :-) I have played around with JSF a bit (an evening or two) and when taking a step back from the API, it appears that it is meant to be able to "render" any sort of UI. That intrigues me VERY much! |
|
|
|
|
|
|
|
|
Hi Mike, I think you should get into some MVC framework for the web instead of trying to get your head wrapped around the 'best practices' of JSP/Servlet implementation. There are ton's of gotcha's in doing simple JSP/Servlet work. A good framework like JSF would be a great place to start and over time you can back fill what you really ... |
I am curious about the events and UI components. I know almost nothing about JSF. Suppose you have web site that offers customized business cards. As the user selcts font, style, background color, etc, does JSF make it easy to continuously update an image of the customized card without the user having to submit the form for every change? I have ... |
|
|
|
|
|
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress) |
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress) |
|
|
|
|
Hi Greg, Well on the first point. I'm not sure how that would work with JSF. JSF uses the incoming URL as the 'view id' and that is how it finds the existing view on the server (unless the view was serialized in the page). So if you had a bunch of pages that all when through the viewform servlet then ... |
|
|
I have just finished studying JSF. I found it good in the abstract but lousy in its implementation for the following reasons: 1. There is too much to do to get anything done - even the simple things. You have to create Java, JSP, and XML files and get them all running together 2. The runtime errors are not descriptive at ... |
|
Hi all I don't know if I'm in the correct forum ; so please just tell me and I will move my post. I'm working on a jee5 (jpa/ejb3/jsf) application using NB6 and them VWP this is for the background. My job is to mock an older app written in a proprietary language to java Now my problem is this : ... |
Have a geter method to return the Enum value as String in your bean and display that in your jsp. Ex- /** * @return the status */ public ConfigStatusEnum getStatus() { return status; } // Use this method in your jsp /** * @return the status */ public String getStatusAsString() { return status.getValue(); } |
|
|
Also, to my experience, in case of those amounts of data, the biggest bottleneck is the webbrowser used at the client side. Let's give a rough example: when using decent hardware and network, transferring 10,000 records from a well-indexed SQL database into Java's memory using well-written Java code shouldn't last more than one second. Letting JSF to render a table with ... |
|
|
|
|
Hi, Iam facing an issue while deleting UI Component .The entire scenario is as described below: My Jsp Page : I have binded it to a method which adds Panel Groups ,text boxes and a command button. public HtmlPanelGrid getContainerComponent() { finalGrid.setColumns(2); int listLength=finalValList.size(); for (int i=0; i < listLength; i++) { System.out.println("Entering getContainerComponent()"); UIColumn ... |
|
Hello, Im learning Java web development and working on a sample web project. In my project i need to use a datagrid(Datatable) that datatable should contain Autocomplete Column Values(1st column) for every Rows. It should get the database values, and should display in autocomplete. For Example: I have attached..the image for your reference. I have already done tis with pure javascript ... |
|
That book promotion ended last week, so Rainer Eschen may not see this post. Given that JSF has a far smaller market penetration than JSP, I find that statement to be lacking in logic. I don't see why this should change with a new version of JSF. Since JSF 1.x came out, many developers have moved on from pure JSPs to ... |
I have a "search.jsp" with a commandButton to generate excel. "Report.jsp" opens up in a new window when i click on this button by running below mentioned javascript. I can download Excel successfully by clicking on Download Excel link in report,jsp. Problem is, once i close this new window, I am unable to perform any other action in "search.jsp" even if ... |
|
Hello All, So here is the goal. I'm creating a form for our intranet at work. The form populates a staff directory, but can also be used to create a new email and domain account for new hires. If the latter is being done, the last 4 digits of the new employee's SSN need to be included. If only their contact ... |
|
|
|
Hi all, I am trying to use several dialogs on a single page. I would like to do a bit of processing on the server, before displaying these dialogs. The problem is I am working with a components library that used JavaScript to open the dialog. The dialogs are the hidden div, iframe stuff. This seems like I have to do ... |
I have created a dynamic web application project using Eclipse. ProjectName : DownloadFromLink When I run the entire project (Right Click on the DownloadFromLink project in the Project Explorere Window and Run on Server), a page opens having the address as "http://localhost/DownloadFromLink/" and my welcome jsp page that I have listed in web.xml is not displayed. How to resolve this issue? ... |
I'd like to mix a little JSP into my JSF code here for logging purposes. I've got a dataTable and I'd like to annotate my log file with some of the information that is going out to the displayed page. (Yes, I do get that not much if any of this sort of thing should be done, but please humor me ... |
|
|
JSF excels at forms handling. It's especially good when you have complex forms that may need several attempts before the user gets all the data correct, since it supports both data validation and postback/redisplay. JSP is a more general-purpose mechanism. It doesn't give you much help for complex forms, but it's better for non-form stuff like outputting XML files to the ... |
|
|
JSP-based JSF views essentially report errors as raw stack traces. Facelets is JSF-aware and it prepares a more useful display with things like the view structure and variable values displayed. It would be enough for me if that's all it did, but I must admit that its ability to do tiling is the other one of the top 2 reasons why ... |
|
|
1. I searched out that JSF 1.2 requires servler 2.5 and jsp 2.1. If I run JSF1.2 on a server which does not support the specs, what will happen? 2. I am currently working on a legacy project of my company. The JSF project ueses JSF1.2 Library. But the JBoss server the project runs on is JBoss4.0.2(with Tomcat 5.5.9 inside, Tomecat5.5.9 ... |
Hey there ! I've been trying to find a way to make invisible links ( including text elements inside it, not only the link itself) but the closer i got was to make the link itself invisible, these outputTexts i have inside it wont change no matter what i try ... is there a way to do this ? |
|
Hello everybody : I ask this as I'm not JSF expert and this, probably, would be my first experience with JSF as development framework. I'm looking around the current available technologies for to build web-oriented applications, in terms of adequacy, suitability and development speed. I'm in front to decide which of that technologies to use for to build my own CMS, ... |
|
|
67. JSF/JSP coderanch.com |
|
Hi Guys, I'm new here & relatively new to java. I've been at it in SAP for the last year or so & i've been quite protected from real Java. So now i want to get my teeth into something... I have been trying to understand the best way to put dynamic data into my .jsp page & found out that ... |
Hi guys, another tedious question. I want to display data from my database, for example products listed in my database for a customer to choose from. How do i do this with JSF? I have googled around & there seems to be a way based on a constructor method for the class the JSF will be calling. Is this right? Is ... |
I have recently configured ICEfaces with Eclipse Helios and I want to create a JSP page and run it as a sample before I can use the other components. But, I'm not able to run a simple JSP page successfully. I get a HTTP Status 404 error page. I have attached the screenshot of the simple JSP page and also the ... |
|
It's not even that good an idea to use scriptlets on plain old JSPs, except in occasional small doses. Scriptlets are logic. JSF is an implementation of MVC. In MVC, you don't put logic on the View. Also, JSF is not a linear translation of the View definition into Java code the way JSPs are. Instead the view is compiled into ... |
|
Hi all, I am so glad I am back to the Java World and having dillemas such as hmm what technology to use of the so many that are available. So my knowledge in the past (from the uni) was concentrated on JSP and Servlets. Now I see there are other players in building web applications e.g. the JSF. JSF looks ... |
|
Hi We are using Liferay 5.2.3 portal with Jboss server. Also we are using JSF- Sun -JSP portlets. I have a page called Registration. This page contains only one portlet Seminar. Seminar Portlet has 3 JSPs and one managed bean. The flow is like this. View.jsp--->Click on Submit--->submit.jsp---->click on Confirm---->Confirm.jsp Whenever the user is in either submit or confirm.jsp and clicks ... |
|
|
|
|