my dog learned polymorphism*
The moose likes JSF and the fly likes Validation issue with JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Validation issue with JSF" Watch "Validation issue with JSF" New topic
Author

Validation issue with JSF

Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
Hi...
when validation error displayed ,focus should come in the first field where the validation happend.Is there any way to do in JSF?i am using h:messages tag

Thanks.
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
Google is your best friend but I will refer this site , it is very helpful

Set Focus for validation errors
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Validation issue with JSF
 
Similar Threads
JavaServer Faces in Action: Reader question
Client side Javascript validation in JSF?
No Required validation in xhtml + JSF
Is any dynamic validation in JSF ?
which validator with "required"