You can't do this using the @IncludeJavaScriptLibrary annotation. Instead, inject the library into an Asset, then inside afterRender(), invoke the RenderSupport.addScriptLink() method. This way, the layout component's @InlcudeJavaScriptLibrary annotations will execute first, and your page-specific annotations execute last.
On Thu, Nov 12, 2009 at 1:22 AM, Gunnar Eketrapp <[email protected]> wrote: > Hi! > > I have a border component that includes .js files and a page that includes a > page specific .js file. > > The page specfic .js file gets loaded before the ones from the border > component but I would like it the other way round. > > How do I do that? > > Thanks in advance, > Gunanr Eketrapp > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
