[Seaside] Strange script behavior
watchlala at hotmail.com
Fri Feb 18 14:21:50 UTC 2011
Ah, thanks. I had been using my method for a long time now with no problem... hm.
The JSScript functionality works perfectly, thank you.
> Date: Fri, 18 Feb 2011 08:02:14 +0100
> Subject: Re: [Seaside] Strange script behavior
> From: renggli at gmail.com
> To: seaside at lists.squeakfoundation.org
> already such functionality in Seaside. In the class JSScript, if I
> remember correctly. Maybe that makes a difference?
> On Friday, 18 February 2011, Robert Sirois <watchlala at hotmail.com> wrote:
> > Has anyone had a problem where you load a script like this...
> > renderMeOn: html
> > self renderPlatformOn: html.
> > html div script: ((self renderObjectsOn: html) timeout: 1 second).
> > renderObjectsOn: html | js | js := OrderedCollection new. self class objects do: [:o | js add: ((html jQuery: o cssSelector) html: o). ].
> > ... and the first query never selects an id? Oddly enough, if I add a meaningless item first:
> > It works just fine?
> > RS
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside