Hello,
I have decided to learn JSF. Step 1 – try the JSF quickstart. It works (Hurray!) – except for what happens when an invalid password is entered. There are 3 lines of code in UserBean.loginUser() that are obviously supposed to produce a failure message, but I do not see the message when I run the code and enter an invalid password. What I do see, however, are the following 4 lines in the Tomcat console:
Jan 25, 2006 2:44:57 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
WARNING: Unable to find component with ID ‘userName’ in view.
Jan 25, 2006 2:44:57 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
WARNING: Unable to find component with ID ‘password’ in view.
More Info:
1) When I enter an invalid password, I am taken back to userLogin.jsp as per the navigation rules.
2) With regard to those four lines above that are printed to the console whenever I enter an invalid password – they also appear when Tomcat first starts up.
Finally, I downloaded and tried the JSFLoginDemo.zip archive from the MyEclipse site – same result.
Any thoughts or comments will be appretiated.
Regards,
Robert