Some examples: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/robust T5.3: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/robust
Geoff On 20 Sep 2014, at 1:52 am, Shahid Shaikh <sshaikh1...@yahoo.com.INVALID> wrote: > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org