<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>Well, that's not really relevant. If you have a required field (html 5) you'd think that cancelling would still work.<br><br>RS<br><br>> To: seaside@lists.squeakfoundation.org<br>> From: intrader.intrader@gmail.com<br>> Date: Tue, 19 Jul 2011 21:55:55 +0000<br>> Subject: [Seaside] Re: Cancel Button<br>> <br>> Robert Sirois <watchlala <at> hotmail.com> writes:<br>> <br>> > <br>> > <br>> > The (WACancelButtonTag) cancel button in a form with required fields (html 5) <br>> still requires the fields to be filled out when canceling hehe. Is this normal?<br>> > RS 		 	 		 <br>> > <br>> > _______________________________________________<br>> > seaside mailing list<br>> > seaside <at> lists.squeakfoundation.org<br>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> > <br>> To my understanding (and I am a newbie):<br>> 1. All callbacks are valued before rendering components<br>> 2. Callback processing is not done if a high priority callback cancels further <br>> processing via `self handleAnswer: false`.<br>> 3. Callback processing is also cancelled by #respond processing.<br>> The WACancelButtonTag is set to high priority (-5). In my opinion you can cancel <br>> further processing of callbacks (and validation) by setting <br>> `self handleAnswer: false.`.<br>> Watch out if you also have AJAX as to my understanding also has priority -5.<br>> <br>> <br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                            </div></body>
</html>