This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Login Page Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Login Page Problem" Watch "Login Page Problem" New topic
Author

Login Page Problem

Ramesh Etta
Ranch Hand

Joined: Sep 18, 2007
Posts: 46
Hi,

i had written a login page in jsf with fields UserName and Password.
Now i had two buttons named Login and Clear.
When i enter username and password values and press enter key nothing is happening. i mean the submit is not happening. but when i press the login button it is being submitted.

Now i want like after i enter password and press Enter button, the submit needs to happen.
Please help me in this matter.

here is the login page jsf code:

<ice:form id="mainFrm" >
 
Don't get me started about those stupid light bulbs.
 
subject: Login Page Problem