Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Thiago H de Paula Figueiredo
On Thu, 22 May 2014 06:14:51 -0300, Stephen Nutbrown   
wrote:



Hi,


Hi!

Use JavaScriptSupport.importJavaScriptLibrary(Asset asset) instead. To get  
an asset, use the AssetSource service methods.


--
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



Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Stephen Nutbrown
Hi again,

A quick update. Actually I find when I look in the source in Google
Chrome, I can see this:


Use the mousewheel to zoom on a focal point






Zoom In
Zoom Out

Reset



The whole  tag disappears! However, if I press ctrl and F5 (so
it refreshes the page but not by sending through a zone), the script
is showing:

Use the mousewheel to zoom on a focal point