By default a PasswordTextField is required. So if you don't enter any value in it, the validation will fail and onError will be called instead of onSubmit. I'm guessing you didn't set the other fields to be required, so that's why they don't break the validation.

Linda.

vela wrote:
Hello,
I have a PasswordTextField, some text fields and AjaxFallbackButton in the
form. If PasswordTextField is not entered and on sumbit of the
AjaxFallbackButton, onSubmit(AjaxRequestTarget ........, ......) is not
getting called. But when I remove the PasswordTextField and without entering
the values for the other textfields, and on submit of the
AjaxFallbackButton, onSubmit(AjaxRequestTarget ........, ......) is getting
called.

What is the reason for that?
How to make the  onSubmit(AjaxRequestTarget ........, ......) getting called
event if no values are entered for PasswordTextField, on submit of the
AjaxFallbackButton.


------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: 270.11.10/1996 - Release Date: 03/11/09 20:42:00



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to