Hi Johan,<br><br>yes. I was just anwering that I added the onChange: at the wrong place.<br><br>Thank you.<br>Sabine<br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 1:12 PM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be" target="_blank">johan@inceptive.be</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sabine,<br>
<br>
You mean you want the callback to fire when the selection has changed?<br>
You need to intercept the change event and trigger the callback serialization:<br>
<br>
html select<br>
        onChange: (html jQuery ajax serializeThis);<br>
        callback: ...<br>
<br>
cheers,<br>
Johan<br>
<div class="HOEnZb"><div class="h5"><br>
On 21 Apr 2013, at 12:24, Sabine Knöfel &lt;<a href="mailto:sabine.knoefel@gmail.com">sabine.knoefel@gmail.com</a>&gt; wrote:<br>
<br>
&gt; I want to use an optionGroup and copied the code from<br>
&gt; WAInputElementContainer&gt;&gt;renderNestedSelectionOn:.<br>
&gt; The callback does not fire. See below.<br>
&gt; Is this a bug?<br>
&gt; How can I force the callback to fire?<br>
&gt;<br>
&gt; Sabine<br>
&gt;<br>
&gt; |selectTag |<br>
&gt; selectTag := html select.<br>
&gt; selectTag<br>
&gt;       callback: [ :value | value inspect ];<br>
&gt;       selected: &#39;Lisp&#39;;<br>
&gt;       with: [#(#(&#39;Functional&#39; #(&#39;Haskell &#39; &#39;Lisp&#39; &#39;ML&#39;)) #(&#39;Dataflow&#39; #(&#39;G&#39; &#39;Max&#39;<br>
&gt; &#39;Prograph&#39;)))<br>
&gt;       do: [ :list |<br>
&gt;               html optionGroup<br>
&gt;                       label: list first;<br>
&gt;                       with: [<br>
&gt;                               list second<br>
&gt;                                       do: [ :each |<br>
&gt;                                               html option<br>
&gt;                                                       value: each with: selectTag;<br>
&gt;                                                       with: each ] ] ] ].<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815.html" target="_blank">http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815.html</a><br>
&gt; Sent from the Seaside General mailing list archive at Nabble.com.<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>
<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>