You can have a look at: http://www.irian.at/myfaces-sandbox/home.jsf
On the page you will examples for all the components of sanbox. You can look at "SubForm - Partial validation and model update with SubForms <http://www.irian.at/myfaces-sandbox/subForm.jsf> " Other place you can look for example code is the source repository : http://myfaces.apache.org/source-repository.html You can browse the online source repo and check out the examples. These will the same that are present at irian site given above. ~madhav ________________________________ From: Srinivas V [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:13 PM To: MyFaces Discussion Subject: Re: how to avoid validation can you give me an example? On 3/2/07, Madhav Bhargava <[EMAIL PROTECTED]> wrote: Use subForm component. ________________________________ From: Srinivas V [mailto: [EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:01 PM To: MyFaces Discussion Subject: how to avoid validation I have a selectBox, some text boxes and a commandbutton. on change of select box I need to show some text boxes. On click of the commandbutton i need to validate the validate the textboxes. But on change of select box it is validating the text boxes. How to avoid this validation on change of select box for which i submit the page? Any ideas will be appriciated. Regards srinivas **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***