This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes No Required validation in xhtml + JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "No Required validation in xhtml + JSF" Watch "No Required validation in xhtml + JSF" New topic
Author

No Required validation in xhtml + JSF

Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Hi, I am using JSF with xhtml files. I am not able to perform validation on the form fields in JSF.

In my xhtml file , this is what I have written.



why there is no required validation when I submit the form. required attribute is set to true in the html text field.

Warm Regards,
Naseem Khan


Asking Smart Questions FAQ - How To Put Your Code In Code Tags
Gabriel Claramunt
Ranch Hand

Joined: May 26, 2007
Posts: 375
immediate="true" skips the validation step. Look at the JSF lifecycle.


Gabriel
Software Surgeon
Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Originally posted by Gabriel Claramunt:
immediate="true" skips the validation step. Look at the JSF lifecycle.


Yeah its working fine now.

Rgds,
Naseem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No Required validation in xhtml + JSF