Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to set the focus to the first input-field of a form?

843842Aug 9 2005 — edited Jun 6 2008
Hello,

how can I set the focus of a form to a certain field with JSF? Of course I could do it with JavaScript, but then I would have to use <f:verbatim>-tags. Is there any way with pure JSF?

Regards
Marten
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2008
Added on Aug 9 2005
9 comments
588 views