[Seaside] Re: Cancel Button
Robert Sirois
watchlala at hotmail.com
Tue Jul 19 22:12:20 UTC 2011
Well, that's not really relevant. If you have a required field (html 5) you'd think that cancelling would still work.
RS
> To: seaside at lists.squeakfoundation.org
> From: intrader.intrader at gmail.com
> Date: Tue, 19 Jul 2011 21:55:55 +0000
> Subject: [Seaside] Re: Cancel Button
>
> Robert Sirois <watchlala <at> hotmail.com> writes:
>
> >
> >
> > The (WACancelButtonTag) cancel button in a form with required fields (html 5)
> still requires the fields to be filled out when canceling hehe. Is this normal?
> > RS
> >
> > _______________________________________________
> > seaside mailing list
> > seaside <at> lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> To my understanding (and I am a newbie):
> 1. All callbacks are valued before rendering components
> 2. Callback processing is not done if a high priority callback cancels further
> processing via `self handleAnswer: false`.
> 3. Callback processing is also cancelled by #respond processing.
> The WACancelButtonTag is set to high priority (-5). In my opinion you can cancel
> further processing of callbacks (and validation) by setting
> `self handleAnswer: false.`.
> Watch out if you also have AJAX as to my understanding also has priority -5.
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110719/a605a84c/attachment.htm
More information about the seaside
mailing list