On Fri, 19 Sep 2014 11:19:58 -0300, Shahid Shaikh <sshaikh1...@yahoo.com.invalid> wrote:

How to get properties value in an external javascript file?

It's not possible to do that directly. On the other hand, you can use JavaScriptSupport.addScript() or addInit() or require().with() (T5.4+) to pass whatever information you want from Java class to JavaScript.

Example: I have this in my external JS file.

 var link = "$(theLink)";

It does not expand.

That's expected. It's not a Tapestry template.


Thank you for your help!


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