<br><br>Envoyé depuis mon HTC<br><br>----- Reply message -----<br>De : seaside-request@lists.squeakfoundation.org<br>Pour : &lt;seaside@lists.squeakfoundation.org&gt;<br>Objet : seaside Digest, Vol 105, Issue 22<br>Date : lun., sept. 12, 2011 03:52<br><br><br>Send seaside mailing list submissions to<br>        seaside@lists.squeakfoundation.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>or, via email, send a message with subject or body &#39;help&#39; to<br>        seaside-request@lists.squeakfoundation.org<br><br>You can reach the person managing the list at<br>        seaside-owner@lists.squeakfoundation.org<br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of seaside digest...&quot;<br><br><br>Today&#39;s Topics:<br><br> &nbsp; 1. RE: client side programming (Robert Sirois)<br> &nbsp; 2. capture client events in seaside? (Larry White)<br> &nbsp; 3. Re: capture client events in seaside? (Milan Mimica)<br> &nbsp; 4. Re: [ANN] Seaside 3.0.6 release (Dale Henrichs)<br> &nbsp; 5. Re: Broken code in latest Seaside. JQLoad does not support<br> &nbsp; &nbsp; &nbsp;&#39;success&#39; (John Toohey)<br> &nbsp; 6. OnClick on an &quot;html select&quot; not working for me in Seaside        3.0<br> &nbsp; &nbsp; &nbsp;(Squeaker)<br> &nbsp; 7. Re: capture client events in seaside? (Larry White)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 11 Sep 2011 10:23:33 -0600<br>From: Robert Sirois &lt;watchlala@hotmail.com&gt;<br>Subject: RE: [Seaside] client side programming<br>To: &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID: &lt;BAY158-W2FF7DA55EE1E42D422BD7A6030@phx.gbl&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br><br>Hey, it works ;)<br>RS<br><br>&gt; Date: Sun, 11 Sep 2011 18:20:25 +0200<br>&gt; Subject: Re: [Seaside] client side programming<br>&gt; From: milan.mimica@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; <br>&gt; Oh, funny :)<br>&gt; <br>&gt; On 11 September 2011 18:14, Robert Sirois &lt;watchlala@hotmail.com&gt; wrote:<br>&gt; &gt; data do: [:t |<br>&gt; &gt;<br>&gt; &gt;         html document addLoadScript: ((html jQuery: t title asSymbol) live: &#39;click&#39;<br>&gt; &gt; do: ((html jQuery ajax callback: [ ... ]) onComplete: html javascript<br>&gt; &gt; refresh)).<br>&gt; &gt;<br>&gt; &gt; ].<br>&gt; &gt;<br>&gt; &gt; RS<br>&gt; &gt;<br>&gt; &gt;&gt; Date: Sun, 11 Sep 2011 18:10:42 +0200<br>&gt; &gt;&gt; Subject: Re: [Seaside] client side programming<br>&gt; &gt;&gt; From: milan.mimica@gmail.com<br>&gt; &gt;&gt; To: seaside@lists.squeakfoundation.org<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Sorry, I didn&#39;t understand that. Could you elaborate please?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; On 11 September 2011 18:08, Robert Sirois &lt;watchlala@hotmail.com&gt; wrote:<br>&gt; &gt;&gt; &gt; Binding click events after the fact :/<br>&gt; &gt;&gt; &gt; RS<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt; Milan Mimica<br>&gt; &gt;&gt; http://sparklet.sf.net<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; seaside mailing list<br>&gt; &gt;&gt; seaside@lists.squeakfoundation.org<br>&gt; &gt;&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; seaside mailing list<br>&gt; &gt; seaside@lists.squeakfoundation.org<br>&gt; &gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Milan Mimica<br>&gt; http://sparklet.sf.net<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                           &nbsp;                  &nbsp;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110911/7f17c6b6/attachment-0001.htm<br><br>------------------------------<br><br>Message: 2<br>Date: Sun, 11 Sep 2011 14:39:24 -0400<br>From: Larry White &lt;ljw1001@gmail.com&gt;<br>Subject: [Seaside] capture client events in seaside?<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br>        &lt;CAMdbzVh132DW3pb0cXSrZRkdt4LONND1sdxN5KSc6tU73ykdmg@mail.gmail.com&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi what is the best way to capture a client-side event in seaside?<br><br>I have a menu that includes a select box. I would like to capture the select<br>event so that I can update a view when the selection changes.<br><br>html select &nbsp;list: (Dao new) allProducts;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;callback: [ :value |<br>productEntryAction value].<br><br>I guess I could wrap it in a form and put a &#39;go&#39; submitButton next to it,<br>but that seems so 2004 ;) &nbsp;Is there anything better?<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110911/fc24b910/attachment-0001.htm<br><br>------------------------------<br><br>Message: 3<br>Date: Sun, 11 Sep 2011 20:46:47 +0200<br>From: Milan Mimica &lt;milan.mimica@gmail.com&gt;<br>Subject: Re: [Seaside] capture client events in seaside?<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br>        &lt;CAC+6wjo=0ecY6Ex4TM+ugC9PWeVREY_HKnVdP9Dm3ALcQRpcjg@mail.gmail.com&gt;<br>Content-Type: text/plain; charset=ISO-8859-1<br><br>html select list<br> &nbsp;onChange: (html jQuery ajax callback: [ do your stuff here ]).<br><br><br>On 11 September 2011 20:39, Larry White &lt;ljw1001@gmail.com&gt; wrote:<br>&gt; Hi what is the best way to capture a client-side event in seaside?<br>&gt; I have a menu that includes a select box. I would like to capture the select<br>&gt; event so that I can update a view when the selection changes.<br>&gt; html select �list: (Dao new) allProducts;<br>&gt; � � � � � � callback: [ :value |<br>&gt; productEntryAction value].<br>&gt; I guess I could wrap it in a form and put a &#39;go&#39; submitButton next to it,<br>&gt; but that seems so 2004 ;) �Is there anything better?<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt;<br>&gt;<br><br><br><br>-- <br>Milan Mimica<br>http://sparklet.sf.net<br><br><br>------------------------------<br><br>Message: 4<br>Date: Sun, 11 Sep 2011 11:48:29 -0700 (PDT)<br>From: Dale Henrichs &lt;dhenrich@vmware.com&gt;<br>Subject: Re: [Seaside] [ANN] Seaside 3.0.6 release<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Cc: beta@seaside.gemstone.com,        Seaside - developer list<br>        &lt;seaside-dev@lists.squeakfoundation.org&gt;<br>Message-ID:<br>        &lt;1083998611.247308.1315766909368.JavaMail.root@zimbra-prod-mbox-2.vmware.com&gt;<br>        <br>Content-Type: text/plain; charset=utf-8<br><br>ConfigurationOfSeaside30 for 3.0.6 released.<br><br>Configuration loaded and passing tests[1] on the following platforms:<br><br> &nbsp;PharoCore-1.3<br> &nbsp;PharoCore-1.2<br> &nbsp;PharoCore-1.1.2<br> &nbsp;PharoCore-1.0<br> &nbsp;Squeak4.2<br> &nbsp;GemStone 1.0-beta.8.6<br><br>Dale<br> &nbsp;<br>[1] except for a number of Swazoo test failures and errors<br><br>----- Original Message -----<br>| From: &quot;Philippe Marschall&quot; &lt;philippe.marschall@gmail.com&gt;<br>| To: &quot;Seaside - general discussion&quot; &lt;seaside@lists.squeakfoundation.org&gt;, &quot;Seaside - developer list&quot;<br>| &lt;seaside-dev@lists.squeakfoundation.org&gt;<br>| Sent: Sunday, September 11, 2011 3:40:44 AM<br>| Subject: [Seaside] [ANN] Seaside 3.0.6 release<br>| <br>| We are pleased to announce the release of Seaside 3.0.6. This is a<br>| minor release for Seaside 3.0 and contains a wide range of<br>| improvements and fixes from a variety of people, some of them even<br>| contributing for the first time. Many of those changes were done at<br>| the Seaside Sprint at ESUG.<br>| <br>| ��[1] http://code.google.com/p/seaside/wiki/Seaside306Changelog<br>| <br>| The Seaside Team<br>| _______________________________________________<br>| seaside mailing list<br>| seaside@lists.squeakfoundation.org<br>| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>| <br><br><br>------------------------------<br><br>Message: 5<br>Date: Sun, 11 Sep 2011 19:47:07 -0400<br>From: John Toohey &lt;jt@parspro.com&gt;<br>Subject: Re: [Seaside] Broken code in latest Seaside. JQLoad does not<br>        support        &#39;success&#39;<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br>        &lt;CAJOFv+jU24+Huikm+EWTk1wmC+5XJ8PR=hnVCtCK4Aei+UfVyQ@mail.gmail.com&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br>JQLoad only supports &#39;complete&#39; as can be seen from the #isSupported<br>method. However, it also has a #onSuccess method. I guess that method<br>should be removed, as it only fails at runtime. I have the latest SS<br>build from Jenkins, so this may be transitional code.<br><br>On Fri, Sep 9, 2011 at 12:50, John Toohey &lt;jt@parspro.com&gt; wrote:<br>&gt; onSuccess is what I have, and now that throws the error from JQLoad<br>&gt;<br>&gt; On Fri, Sep 9, 2011 at 12:16, Nick Ager &lt;nick.ager@gmail.com&gt; wrote:<br>&gt;&gt; http://forum.world.st/The-option-complete-is-not-supported-in-JQLoad-td3518358.html<br>&gt;&gt;<br>&gt;&gt; On 9 September 2011 17:07, Robert Sirois &lt;watchlala@hotmail.com&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I think it was changed to complete.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; RS<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt; Date: Fri, 9 Sep 2011 12:03:39 -0400<br>&gt;&gt;&gt; &gt; From: jt@parspro.com<br>&gt;&gt;&gt; &gt; To: seaside@lists.squeakfoundation.org<br>&gt;&gt;&gt; &gt; Subject: [Seaside] Broken code in latest Seaside. JQLoad does not<br>&gt;&gt;&gt; &gt; support &#39;success&#39;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; Hi,<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; I have the following in one of my apps :-<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; html div class: self cssClass; with:[<br>&gt;&gt;&gt; &gt; html table<br>&gt;&gt;&gt; &gt; id: self tableID;<br>&gt;&gt;&gt; &gt; script: (html jQuery this<br>&gt;&gt;&gt; &gt; bind: &#39;julietrefresh&#39; do: (html jQuery this load html: [:h |<br>&gt;&gt;&gt; &gt; self renderTable: h];<br>&gt;&gt;&gt; &gt; onSuccess: (html jQuery this call: self refreshScript)<br>&gt;&gt;&gt; &gt; ));<br>&gt;&gt;&gt; &gt; with:[<br>&gt;&gt;&gt; &gt; self renderTable: html<br>&gt;&gt;&gt; &gt; ]<br>&gt;&gt;&gt; &gt; ]<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; I&#39;ve just installed the latest SS into a 1.3 image, but this code<br>&gt;&gt;&gt; &gt; break. The debugger reports that JQLoad does not support the option<br>&gt;&gt;&gt; &gt; &#39;success&#39;. Does anyone know how this code should be rewritten to<br>&gt;&gt;&gt; &gt; support the latest build?<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; --<br>&gt;&gt;&gt; &gt; ~JT<br>&gt;&gt;&gt; &gt; _______________________________________________<br>&gt;&gt;&gt; &gt; seaside mailing list<br>&gt;&gt;&gt; &gt; seaside@lists.squeakfoundation.org<br>&gt;&gt;&gt; &gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; seaside mailing list<br>&gt;&gt;&gt; seaside@lists.squeakfoundation.org<br>&gt;&gt;&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; seaside mailing list<br>&gt;&gt; seaside@lists.squeakfoundation.org<br>&gt;&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; ~JT<br>&gt;<br><br><br><br>-- <br>~JT<br><br><br>------------------------------<br><br>Message: 6<br>Date: Sun, 11 Sep 2011 20:50:29 -0400<br>From: Squeaker &lt;squeakman@gmail.com&gt;<br>Subject: [Seaside] OnClick on an &quot;html select&quot; not working for me in<br>        Seaside        3.0<br>To: seaside@lists.squeakfoundation.org<br>Message-ID: &lt;j4jl0f$e3h$1@dough.gmane.org&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Greetings,<br><br>I am attempting to display a list and trigger a callback onClick when <br>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 <br>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 <br>Seaside 3.0.<br><br>renderContentOn: html<br> &nbsp; &nbsp; | listToDisplay |<br><br> &nbsp; &nbsp; listToDisplay := OrderedCollection new.<br> &nbsp; &nbsp; listToDisplay add: &#39;AAPL&#39;; add: &#39;INTC&#39;; add: &#39;GOOG&#39;.<br><br> &nbsp; &nbsp; (html div)<br> &nbsp; &nbsp; &nbsp; &nbsp; id: &#39;passedPanel&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; with:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [(html div)<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: &#39;passed&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with:<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [(html select)<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: &#39;passedList&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list: listToDisplay;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; selected: (listToDisplay at: 1);<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onClick: ((html scriptaculous updater)<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: &#39;foo&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; triggerFormElement: &#39;passedList&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; callback: [self openStock])].<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;                &quot;this div is a dummy div for the click &nbsp;to work &nbsp;                         &nbsp;- its <br>a kludge&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; html div id: &#39;foo&#39;.<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br><br>Any help would be appreciated.<br><br>Thanks,<br>Frank<br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Sun, 11 Sep 2011 21:50:55 -0400<br>From: Larry White &lt;ljw1001@gmail.com&gt;<br>Subject: Re: [Seaside] capture client events in seaside?<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br>        &lt;CAMdbzVh5cN4_iVna1d8EQc+TWHG1mJgySJgCi4o_cW50O-8v7g@mail.gmail.com&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>thanks. I had a feeling it involved jquery or javascript; This looks much<br>scary than I was expecting. ;)<br><br>On Sun, Sep 11, 2011 at 2:46 PM, Milan Mimica &lt;milan.mimica@gmail.com&gt;wrote:<br><br>&gt; html select list<br>&gt; &nbsp;onChange: (html jQuery ajax callback: [ do your stuff here ]).<br>&gt;<br>&gt;<br>&gt; On 11 September 2011 20:39, Larry White &lt;ljw1001@gmail.com&gt; wrote:<br>&gt; &gt; Hi what is the best way to capture a client-side event in seaside?<br>&gt; &gt; I have a menu that includes a select box. I would like to capture the<br>&gt; select<br>&gt; &gt; event so that I can update a view when the selection changes.<br>&gt; &gt; html select &nbsp;list: (Dao new) allProducts;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; callback: [ :value |<br>&gt; &gt; productEntryAction value].<br>&gt; &gt; I guess I could wrap it in a form and put a &#39;go&#39; submitButton next to it,<br>&gt; &gt; but that seems so 2004 ;) &nbsp;Is there anything better?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; seaside mailing list<br>&gt; &gt; seaside@lists.squeakfoundation.org<br>&gt; &gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Milan Mimica<br>&gt; http://sparklet.sf.net<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110911/b2915ba3/attachment.htm<br><br>------------------------------<br><br>_______________________________________________<br>seaside mailing list<br>seaside@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br><br><br>End of seaside Digest, Vol 105, Issue 22<br>****************************************<br><br>