I have similar problem and the workaround works but it's kind of ugly.

In my case, my embedded <script> depends on protoype.js and
scriptaculous.js, so I do the workaround and include the those JavaScript
files in the html head section via tapestry template.

The problem is that same page contains components that have implicit
dependencies on protoype.js and scriptaculous.js as well.  I believe it's
either standard T5 datetime field or some T5-components that I used is doing
@IncludeJavaScriptLibrary on protoype.js and scriptaculous.js.  Anyways, it
ended up my embedded script works fine, but I have extra protoype.js and
scriptaculous.js included at the bottom of the page.

If there anyway to specified that I've already manually include those
javascripts and not to duplicate include them at the bottom?

If it's not too much trouble, I'd appreciate having JavaScript at bottom to
be configurable.
-- 
View this message in context: 
http://www.nabble.com/Javascript-at-the-bottom-of-page-tp18152871p19244950.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to