What is a slime rule?<br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 3:27 PM, Philippe Marschall [via Smalltalk] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4682829&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="HOEnZb"><div class="h5">

        On Sun, Apr 21, 2013 at 1:12 PM, Sabine Knöfel &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4682828&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<div><div class='shrinkable-quote'><br>&gt; Hi Max,
<br>&gt;
<br>&gt; thank you. There is &gt;&gt;beSubmitOnChange.
<br>&gt; But I dont want the whole page to be submitted.
<br>&gt;
<br>&gt; But you gave me the hint!
<br>&gt;
<br>&gt; My error was, that I added onChange AFTER the with: block...and that does
<br>&gt; not work.
<br>&gt;
<br>&gt; This works:
<br>&gt;     theInput1
<br>&gt;         id: mid;
<br>&gt;         selected: self currentDay expensesCountryDay;
<br>&gt;         callback: [ :value | self countryDay: value inspect  ];
<br>&gt;         onChange: (html prototype evaluator
<br>&gt;                         triggerForm: self countryDaySelectionFormID;
<br>&gt;                         return: false);
<br>&gt;         with: [ .....] ].
<br>&gt;
<br>&gt; This doesNOT work
<br>&gt;     theInput
<br>&gt;         id: mid;
<br>&gt;         selected: self currentDay expensesCountryDay;
<br>&gt;         callback: [ :value | self countryDay: value inspect ];
<br>&gt;         with: [ .....  ];
<br>&gt;         onChange:
<br>&gt;                 (html prototype evaluator
<br>&gt;                         triggerForm: self countryDaySelectionFormID;
<br>&gt;                         return: false).
</div></div></div></div><div class="im">This is a common mistake, I believe we even have a Slime rule for this.
<br><br>Cheers
<br>Philippe
<br></div><div class="im">_______________________________________________
<br>seaside mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4682828&amp;i=1" 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><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815p4682828.html" target="_blank" rel="nofollow" link="external">http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815p4682828.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <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></div></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-tp4682815p4682829.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/>