This looks similar to some strangeness I saw.<div>try putting the script first in your cascade like so:</div><div><br></div><div><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">(html select)<br>
     id: &#39;passedList&#39;;<br></span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">onClick: ((html scriptaculous updater)<br>
</span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">id: &#39;foo&#39;;</span></div>
<div><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">triggerFormElement: &#39;passedList&#39;;</span></div>
<div><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">callback: [self openStock]);</span></div>
<div><font class="Apple-style-span" color="#444444" face="arial, sans-serif"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; "><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">list: listToDisplay;<br>
</span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">     </span><span class="Apple-style-span" style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">selected: (listToDisplay at: 1).<br>
</span></span></font><br><div class="gmail_quote">On Sun, Sep 11, 2011 at 5:50 PM, Squeaker <span dir="ltr">&lt;<a href="mailto:squeakman@gmail.com">squeakman@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;">
Greetings,<br>
<br>
I am attempting to display a list and trigger a callback onClick when the user clicks on an item in the list.<br>
<br>
The list is displayed correctly and when the user clicks an item I get a debugger saying:<br>
<br>
&#39;This block expects 0 argument(s) but is invoked with 1 argument(s)&#39;<br>
<br>
I had similar code to this working in Seaside 2.8 but it is failing in Seaside 3.0.<br>
<br>
renderContentOn: html<br>
    | listToDisplay |<br>
<br>
    listToDisplay := OrderedCollection new.<br>
    listToDisplay add: &#39;AAPL&#39;; add: &#39;INTC&#39;; add: &#39;GOOG&#39;.<br>
<br>
    (html div)<br>
        id: &#39;passedPanel&#39;;<br>
        with:<br>
                [(html div)<br>
                    id: &#39;passed&#39;;<br>
                    with:<br>
                          [(html select)<br>
                            id: &#39;passedList&#39;;<br>
                            list: listToDisplay;<br>
                            selected: (listToDisplay at: 1);<br>
                            onClick: ((html scriptaculous updater)<br>
                                      id: &#39;foo&#39;;<br>
                                      triggerFormElement: &#39;passedList&#39;;<br>
                                      callback: [self openStock])].<br>
<br>
                        &quot;this div is a dummy div for the click  to work                           - its a kludge&quot;<br>
                        html div id: &#39;foo&#39;.<br>
                ]<br>
<br>
Any help would be appreciated.<br>
<br>
Thanks,<br>
Frank<br>
<br>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</blockquote></div><br></div>