[Seaside] Script in head tag

Sebastian Sastre ssastre at seaswork.com
Thu Oct 23 09:10:17 UTC 2008


That will make UA to execute that code at the very last possible moment. I wont
just the contrary. This is intended to make things at DOM initialization time.
So you can even take some action before anything is displayed.

Sebastian Sastre

 

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Julian Fitzell
> Enviado el: Jueves, 23 de Octubre de 2008 05:11
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] Script in head tag
> 
> Can't you just use "self session addLoadScript:" from a render method?
> 
> Julian
> 
> On Wed, Oct 22, 2008 at 12:12 PM, Sebastian Sastre 
> <ssastre at seaswork.com> wrote:
> > Hi there,
> >
> > In updateRoot: we don't have the canvas. Beside the script 
> element which invokes
> > a file of a javascript library, how do I add a script with 
> actual javascript
> > code there?
> >
> > Sebastian
> > PD: not good idea for regular code but a good one for 
> initialization code like
> > the one provided by google with:
> > google.load('prototype','1.6')
> > google.load('scriptaculous','1.8')
> > (see: http://code.google.com/apis/ajaxlibs)
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list