<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'>
Two things:<div><br></div><div>You're calling #serializeForm, which serializes the nearest form, which would therefore serialize all elements in the form.</div><div><br></div><div>Look at JQAjax #serializeThis comment. Checkboxes require a #serializeThisWithHidden call.</div><div><br></div><div>RS<br><div><br><div>&gt; From: laza@blobworks.com<br>&gt; Date: Sat, 24 Sep 2011 19:31:14 +0200<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; Subject: [Seaside] checkbox callbacks<br>&gt; <br>&gt; Hi!<br>&gt; <br>&gt; I'm using something like the following in my code:<br>&gt; <br>&gt; renderContentOn: html<br>&gt;         | id |<br>&gt;         html form: [<br>&gt;                 id := html nextId.<br>&gt;                 html checkbox<br>&gt;                         id: id;<br>&gt;                         onChange: (html jQuery id: id) load serializeForm;<br>&gt;                         value: self isChecked;        <br>&gt;                         callback: [:value | value inspect].<br>&gt;                 html text: 'Check me'.<br>&gt;                 id := html nextId.<br>&gt;                 html checkbox<br>&gt;                         id: id;<br>&gt;                         onChange: (html jQuery id: id) load serializeForm;<br>&gt;                         value: self isChecked2;        <br>&gt;                         callback: [:value | value inspect].<br>&gt;                 html text: 'Check me 2'.<br>&gt;         ]<br>&gt; <br>&gt; I'm surprised to see that both callbacks get triggered even if I only<br>&gt; check one checkbox. Is this on purpose and expected? According to<br>&gt; Metacello I'm using Seaside 3.0.6<br>&gt; <br>&gt; Alex<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></div></div>                                               </div></body>
</html>