Re: TAP5.3.0 onValidate

2011-06-25 Thread Taha Hafeez
onValidateFromUserName() can be used for adding custom validation for userName. This event "validate" for a field is triggered when the value is available for the that particular field and "validate" for form is triggered when the value is available for all fields in that form. So, if I have to en

Re: TAP5.3.0 onValidate

2011-06-25 Thread Tony Nelson
On Jun 25, 2011, at 7:12 PM, Taha Tapestry wrote: > Hi Tony > > If your form's name is myForm then You should call onValidateFromMyForm(). If > you do not append "FromMyForm" then the method " onValidate" will be called > for each form field as well as for the form itself. > > Other alternati

Re: TAP5.3.0 onValidate

2011-06-25 Thread Taha Tapestry
Hi Tony If your form's name is myForm then You should call onValidateFromMyForm(). If you do not append "FromMyForm" then the method " onValidate" will be called for each form field as well as for the form itself. Other alternative is to name the method anything else and annotate with @OnEve

TAP5.3.0 onValidate

2011-06-25 Thread Tony Nelson
I saw in the release notes that onValidateForm has been replaced by onValidate. Should it be called 2x on form post? [1106760625@qtp-1806030550-8] DEBUG com.starpoint.helpdesk.pages.group.EditGroup - [ENTER] onPrepare() [1106760625@qtp-1806030550-8] DEBUG com.starpoint.helpdesk.pages.group.Ed