On Wed, 19 Feb 2014 12:16:33 -0300, <la...@email.cz> wrote:

Hi everyone!

Hi!

Question 1: Is it possible to specify something "execute only once in page" on component level? (call from page containing the components is not
solution for me, I want to have my component "independent")

No.

Question 2: Is it possible to load js library AFTER page is created (body
tag is rendered)? Everything what I've tried was loading js before body tag exists.

AFAIK, That's what happens already when you include or call JavaScript through JavaScriptSupport. Notice how Tapestry adds addScript()-added lines: their called only after the document ready JavaScript event is triggered. Even JavaScriptSupport- or @Import-included JavaScript files go to the bottom of the <body>.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to