A beginner's JSF question about form validation
Posted
by Nitesh Panchal
on Stack Overflow
See other posts from Stack Overflow
or by Nitesh Panchal
Published on 2010-04-28T07:57:45Z
Indexed on
2010/04/28
8:23 UTC
Read the original article
Hit count: 244
Hello, I am having a form and many input elements in that. I want certain fields to be validated, so i keep validateLenth etc on those. And i want some fields to not be validated. For example, i have contact information and address information both on the same page. I want to treat contact information as one group. So if some fields are invalid they should not be submitted and address information to be independent of contact information. Thus, if address information is corrected it should be submitted. I have one form only on the page but two buttons, one for address and one for contact.
Simply put :- What is the equivalent of validationGroup of Asp.Net in JSF?
© Stack Overflow or respective owner