I forgot to mention that in the component I add the javascript file
containing the initializer method "drawCharts" like this:

@Import(library = "context:/JQuery/charts.js")

If I put this on the page containing this component instead on the component
it does work from the first submit. (Probably because the js file has
already been added before the component is getting rendered)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Importing-javascript-library-failing-tp5718846p5718852.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to