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