Hi Thanks for the link. But my form doesnt have static components like in the example. All the form components are dynamic and generated using ListViews and are nested inside panels. Is there a way to traverse the component hierarchy with a loop and call validate() on each component. Please provide an example.
Thanks Serkan Camurcuoglu-2 wrote: > > this link may help you a bit.. > > http://cwiki.apache.org/WICKET/conditional-validation.html > > > > tbt wrote: >> Hi >> >> But I need the component models to be updated. Thats why i'm using a >> SubmitLink instead of using a Link. I was hoping there was a simple >> method >> to disable form validation with the SubmitLink such as >> 'link2.setFormValidation(false)' or something like that. >> >> Is there a way to disable validations for some links and enable >> validations >> for others, yet at the same time update the form components when the >> links >> are clicked. Please provide a simple example. >> >> Thanks >> >> >> ZedroS wrote: >> >>> Hi >>> >>> If you don't want our form to be validated, why do you use a SubmitLink >>> ? >>> A simple Link wouldn't trigger the validation. Isn't that what you're >>> looking for ? >>> >>> ++ >>> zedros >>> >>> >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/disabling-error-validation-tp18375841p18397964.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
