[Seaside] adding javascript via update root

Robert Sirois watchlala at hotmail.com
Tue Nov 15 19:02:57 UTC 2011

It follows the same paradigm as any other resource.

Date: Tue, 15 Nov 2011 14:01:17 -0500
From: ljw1001 at gmail.com
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] adding javascript via update root

If I add javascript to a seaside page like so:
ComponentWithJS>>updateRoot: anHtmlRoot

    super updateRoot: anHtmlRoot.

    anHtmlRoot javascript url: 'myJavascript.js'
where should the javascript file be placed relative to the Seaside one click image application. If it matters I'm on OS X lion. Unlike the example in the Dynamic Websites book, i need to host the js library myself. 

thanks much.

seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111115/977eb338/attachment.htm

More information about the seaside mailing list