thx, i will try that!

2012/7/5 Lance Java [via Tapestry] <ml-node+s1045711n571430...@n5.nabble.com
>

> 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.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tapestry.1045711.n5.nabble.com/embedding-google-maps-javascript-into-a-tapestry-page-tp5714286p5714302.html
>  To unsubscribe from embedding google maps javascript into a tapestry
> page, click 
> here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5714286&code=YWxleGFuZGVyLnNvbW1lckBnbWFpbC5jb218NTcxNDI4NnwxMDUzMzQxMzM4>
> .
> NAML<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/embedding-google-maps-javascript-into-a-tapestry-page-tp5714286p5714304.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to