You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by srinivas <sr...@sifycorp.com> on 2009/04/10 06:59:42 UTC

how to control the required validations before the validation process is started

Hi,

I need to control the required validations set on the components 
dynamically depending on the value of the other element (ex: selecting a 
radio button should trigger required field validation for some 
elements). For this I extended the components, and I m dynamically 
adding or removing the required validation even though the required 
validation was set in the constructor.

I tried calling the validations controlling method in the onValidate(), 
validate()... but before the control comes to my method, all the 
validations are happening.

Is there any method while will be called before the validation process 
is not yet started or just before the validations are checked, so that  
I can control the validations dynamically.

Thanks,
Srinivas


Get your world in your inbox!

Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id!
Log on to http://www.sify.com

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@sifycorp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org