Hi Josh, external js file is not rendered by T5, so seems no way to do that there, what I'm doing now is, include a function in the template callable from a external js file:
<script type="text/javascript"> function myStatesLink() {return "${theLink}";} </script> Josh Canfield-2 wrote: > > You don't. You probably don't want to either right? Don't you want your > external javascript to get cached in the clients browser? > > What about setting your parameters in the page that includes the > javascript? > > Josh > > On 10/27/07, Angelo Chen <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> How to get properties value in an external javascript file? example: I >> have >> this: >> >> var link = "$(theLink)"; >> >> it does not expand, i tried to put prob: before that, same, any ideas? >> Thanks, >> >> A.C. >> -- >> View this message in context: >> http://www.nabble.com/T5%3A-property-value-in-external-javascript-file-tf4705347.html#a13449723 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > -- > TheDailyTube.com. Sign up and get the best new videos on the internet > delivered fresh to your inbox. > > -- View this message in context: http://www.nabble.com/T5%3A-property-value-in-external-javascript-file-tf4705347.html#a13461474 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]