[Seaside] How to remove existing scripts, css etc from WAHtmlRoot?

John McKeon p3anoman at gmail.com
Tue Sep 21 12:59:58 UTC 2010


I would remove the JQ*Deployment libraries from the appication and add the
required scripts via updateRoot: implemented on the main component. Then you
can be more selective about which js files get loaded.
On Tue, Sep 21, 2010 at 8:27 AM, Tim Murray <tmurray at ecsorl.com> wrote:

>  Hello.
>
>
>
> We are running Seaside 3.0
>
>
>
> Our application uses the JQDeployment and JQUIDeployment libraries along
> with a custom library.
>
>
>
> For some components, I would like to unload the JQ*Deployment libraries and
> load an older version.
>
>
>
> Specifically, I am trying to use JGCharts1.0
>
>
>
> http://maxb.net/scripts/jgcharts/include/demo/
>
>
>
> I am successfully loading the jgcharts.js library on the fly in my
> component’s updateRoot:anHtmlRoot method.
>
> However, the library uses an older version of jquery:  jquery-1.3.1.min.js
>
> Before loading this library in updateRoot:anHtmlRoot, I would like to unload the existing libraries.
>
> Examining the protocol for WAHtmlRoot shows now removeScript or removeCSS
> elements.
>
>
>
> Any ideas?
>
>
>
> Thanks in advance.
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
http://john-mckeon.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100921/5e75b770/attachment.htm


More information about the seaside mailing list