Workaround: put a <script> tag into your template. You can inject the library as an asset use that as the src attribute of the <script> tag. This can be a function of your application's layout component.
On Fri, Jun 27, 2008 at 4:30 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > I'm having a similar issue, with the @IncludeStylesheetLibrary. This > annotation inserts the script tag at the end of the page, but i need > to put it at the beginning... > > There's any solution or at least a workaround for this? > > On Fri, Jun 27, 2008 at 8:10 AM, lebenski <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> This has been an issue for a while now - we're using prototype etc. to >> manipulate elements in some of our pages but can't access it due to it being >> loaded at the end of the page. >> I have read on these forums before that javascript should be loaded at the >> end of the page to increase load speeds, however this should only be done >> when javascript isn't used for changing the layout of the page - could >> tapestry please change this behaviour as it's creating a major headache for >> us (and I'm sure a lot of others). >> >> Thanks >> >> -- >> View this message in context: >> http://www.nabble.com/Javascript-at-the-bottom-of-page-tp18152871p18152871.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] >> >> > > > > -- > Atenciosamente, > > Marcelo Lotif > Programador Java e Tapestry > FIEC - Federação das Indústrias do Estado do Ceará > (85) 3477-5910 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]