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"><<a href="/user/SendEmail.jtp?type=node&node=4682829&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></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 <<a href="http://user/SendEmail.jtp?type=node&node=4682828&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
<div><div class='shrinkable-quote'><br>> Hi Max,
<br>>
<br>> thank you. There is >>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
<br>> 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).
</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&node=4682828&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 -> 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&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&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 -> 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/>