That worked like a charm.  Building up my silly dialog from the examples, I missed the form that the jQuery dialog example don&#39;t use!<div>Sorry for the basic questions and thanks again to both.<div>Cheers</div><div><br>
</div><div>r</div><div><br><br><div class="gmail_quote">On Mon, Dec 28, 2009 at 1:00 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
No, that looks ok. Do you have a form-tag around your elements.<br>
<br>
The #serialize: method sends the form elemnts to the server and<br>
triggers the callbacks. The argument is a query selecting the elements<br>
to be serialized. The #serialize... methods are just convenience<br>
methods with the most used queries (see method comment).<br>
<font color="#888888"><br>
Lukas<br>
</font><div><div></div><div class="h5"><br>
On Monday, December 28, 2009, Ramiro Diaz Trepat &lt;<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>&gt; wrote:<br>
&gt; Thank you very much for your replies.Evidently there&#39;s still quite a few basic things I don&#39;t know about ajax / jQuery.  What is (conceptually) #serializeForm, in what situations should be used?<br>
&gt; By the way, if I try adding this simiple onChange: to the radio buttons, I still don&#39;t get the callbacks&#39; block to be called.<br>
&gt; html radioButton      group: group;<br>
&gt;       callback: [self newSimulationTemplate: template];       onChange: (html jQuery ajax serializeForm);<br>
&gt;       with: [.....<br>
&gt; May be Lukas meant something different?Cheers<br>
&gt;<br>
&gt; r<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Dec 28, 2009 at 9:57 AM, Lukas Renggli &lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I think if you look in JQFormFunctionalTest&#39;s<br>
&gt;&gt; #renderLabel:control:model:on:, you&#39;ll see that it is outputing<br>
&gt;&gt; javascript that serializes the form fields... seems kind of<br>
&gt;&gt; complicated though for what you want. I imagine you can just do<br>
&gt;&gt; something like (untested):<br>
&gt;<br>
&gt; Yeah, this is a bit complicated because it tries to render all<br>
&gt; possible form controls using the same method.<br>
&gt;<br>
&gt;&gt; html radioButton<br>
&gt;&gt;   group: group;<br>
&gt;&gt;   onChange: (html jQuery ajax callback: [ ... ]);<br>
&gt;&gt;   with: [...]<br>
&gt;<br>
&gt; The simplest is if you serialize the complete form. For example if you<br>
&gt; register the following script for change events on each form element<br>
&gt;<br>
&gt;      html jQuery ajax serializeForm<br>
&gt;<br>
&gt; you will trigger all callbacks of the enclosing form whenever<br>
&gt; something changes, essentially keeping the form persistent all the<br>
&gt; time.<br>
&gt;<br>
&gt; Lukas<br>
&gt;<br>
&gt; --<br>
&gt; Lukas Renggli<br>
&gt; <a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br></div></div>