Hi Max,<br><br>thank you. There is &gt;&gt;beSubmitOnChange.<br>But I dont want the whole page to be submitted.<br><br>But you gave me the hint! <br><br>My error was, that I added onChange AFTER the with: block...and that does not work.<br>

<br>This works:<br>    theInput1<br>        id: mid;<br>        selected: self currentDay expensesCountryDay;<br>        callback: [ :value | self countryDay: value inspect  ];<br>        onChange: (html prototype evaluator <br>

                        triggerForm: self countryDaySelectionFormID;<br>                        return: false);<br>        with: [ .....] ].    <br><br>This doesNOT work<br>    theInput<br>        id: mid;<br>        selected: self currentDay expensesCountryDay;<br>

        callback: [ :value | self countryDay: value inspect ];<br>        with: [ .....  ];<br>        onChange:<br>                (html prototype evaluator<br>                        triggerForm: self countryDaySelectionFormID;<br>

                        return: false).    <br><br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 12:40 PM, Max Leske [via Smalltalk] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4682817&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>

<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        I think you need to add #beOnChange or something similar. That will add the script for the callback.
<br><br></div><div><div class="h5">On 21.04.2013, at 12:24, Sabine Knöfel &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4682816&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<br></div></div><div><div><div class="h5"><div class='shrinkable-quote'><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" rel="nofollow" link="external" target="_blank">http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815.html</a></div>

&gt; Sent from the Seaside General mailing list archive at Nabble.com.
<br>&gt; _______________________________________________
<br>&gt; seaside mailing list
<br></div></div>&gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=4682816&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a></div><br>_______________________________________________
<br>seaside mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4682816&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815p4682816.html" target="_blank" rel="nofollow" link="external">http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815p4682816.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from optionGroup -&gt; callback does not fire, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>


                <a href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815p4682817.html">Re: optionGroup -&gt; callback does not fire</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>