Sorry my mistake.In the end though Submit will be called on success or on
failure


On Mon, Dec 16, 2013 at 3:30 AM, Chris Mylonas <ch...@opencsta.org> wrote:

> Form events (in order) table on this page shows the event ordering on form
> submissions.
>
> http://tapestry.apache.org/forms-and-validation.html
>
> looks like validate -> success -> submit
>
>
> On Mon, Dec 16, 2013 at 3:24 AM, Dimitris Zenios
> <dimitris.zen...@gmail.com>wrote:
>
> > onValidate -> onSubmit -> Onsuccess ( Only if validate does not have
> errors
> > )
> >
> >
> > On Sun, Dec 15, 2013 at 3:49 PM, Chung Khanh Duy <
> > chungkhanhduy1...@gmail.com> wrote:
> >
> > > Hi Thiago,
> > >
> > > Thanks for your quick response. But in my application, we had:
> > >
> > > onValidate...()
> > >
> > > onSuccess()
> > >
> > > You meant that I will replace onValidate() by onSummit() ? Or I can add
> > one
> > > more event onSubmiit() and if I can add onSubmit() event, what are
> orders
> > > of these events calling ?
> > >
> > > Thanks,
> > > Duy.
> > >
> > >
> > > On Sun, Dec 15, 2013 at 8:41 PM, Thiago H de Paula Figueiredo <
> > > thiag...@gmail.com> wrote:
> > >
> > > > On Sun, 15 Dec 2013 11:01:35 -0200, Chung Khanh Duy <
> > > > chungkhanhduy1...@gmail.com> wrote:
> > > >
> > > >  Hi Thiago,
> > > >>
> > > >
> > > > Hi!
> > > >
> > > >
> > > >  But I have a question, if has error occur in validation, the
> > onSuccess()
> > > >> is not called, is that right ? If so , how can set password is null
> ?
> > > If I
> > > >> miss somthing, please let me know.
> > > >>
> > > >
> > > > You're right, but there's the EventConstants.SUBMIT (onSubmit())
> event
> > > > which is triggered after all other form submission events, regardless
> > of
> > > > validation succeeding or not.
> > > >
> > > >
> > > > --
> > > > Thiago H. de Paula Figueiredo
> > > > Tapestry, Java and Hibernate consultant and developer
> > > > http://machina.com.br
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Chung Khánh Duy
> > > Project Support Manager
> > > Formos
> > >
> >
>

Reply via email to