Re: Form.recordError not preventing from calling onSubmit form

2009-11-10 Thread João Pereira
That's it. Thank you. On Tue, Nov 10, 2009 at 11:33 PM, Piero Sartini wrote: > > I checked and is the line is being executed, but the process keep going > to > > the onSubmitRegistrationForm() and the new page "successPage" is > > rendered... > > onSubmit() is called whenever the form is submitt

Re: Form.recordError not preventing from calling onSubmit form

2009-11-10 Thread Piero Sartini
> I checked and is the line is being executed, but the process keep going to > the onSubmitRegistrationForm() and the new page "successPage" is > rendered... onSubmit() is called whenever the form is submitted. What you want to use is onSuccess(), this method is only called if the validation wa

Form.recordError not preventing from calling onSubmit form

2009-11-10 Thread Jonhy Pear
Hello, I'm trying to get around this for some time, so I decided to ask another newcomer question. I have a form in a page "resgistration" Registration.tml [Rest of the form] in my Registration.java I have: void onValidateForm() { if (!this.password.equals(this.confirmPassword)) { regis