Thank you Thiago for your response back
________________________________ From: Thiago H de Paula Figueiredo [via Apache Tapestry Mailing List Archives] <ml-node+s1045711n5728423...@n5.nabble.com> To: shahidsan <sshaikh1...@yahoo.com> Sent: Friday, September 19, 2014 11:08 AM Subject: Re: Tapestry Expansion On Fri, 19 Sep 2014 11:19:58 -0300, Shahid Shaikh <[hidden email]> 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: [hidden email] For additional commands, e-mail: [hidden email] ________________________________ If you reply to this email, your message will be added to the discussion below:http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-Expansion-tp5728422p5728423.html To unsubscribe from Apache Tapestry Mailing List Archives, click here. NAML