You can't use ${scopeRadius} in a js file. Javascript files are static and can be cached in the browser. What you can do is construct a JSONObject on the serverside (based on dynamic values) and initialize the client.
This can be done two ways: 1. Create a javascript object under the "Tapestry.Initializer" namespace and use JavascriptSupport.addInitializerCall(String functionName, JSONObject parameter) 2. Call a javascript function via JavascriptSupport.addScript(String format, Object... arguments) > I will mention your name on http://www.airwriting.com/about/imprint if you > agree on! Not sure I deserve a mention but I have no problem with that. -- View this message in context: http://tapestry.1045711.n5.nabble.com/embedding-google-maps-javascript-into-a-tapestry-page-tp5714286p5714302.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org