Re: tml parameter rendered into a JavaScript string

2012-03-14 Thread Lance Java
See http://tapestry.1045711.n5.nabble.com/Getting-the-HTML-markup-string-from-a-RenderCommand-td5564418.html On Friday, 24 February 2012, Lance Java lance.j...@googlemail.com wrote: I am writing a google maps component which can display markers on a map, each marker has an info window when it is

Re: tml parameter rendered into a JavaScript string

2012-02-27 Thread Lance Java
: tml parameter rendered into a JavaScript string Hi Laurent, I took a look at your library and from what I can see, it is missing the functionality that I want. It seems that each marker has an info property which is a string containing the text to render in the info window. I would like each

RE: tml parameter rendered into a JavaScript string

2012-02-27 Thread Guerin Laurent
return list; } Laurent -Message d'origine- De : Lance Java [mailto:lance.j...@googlemail.com] Envoyé : lundi 27 février 2012 10:46 À : Tapestry users Objet : Re: tml parameter rendered into a JavaScript string Hi Laurent, I think the normal use case for using a google map

Re: RE : tml parameter rendered into a JavaScript string

2012-02-25 Thread Lance Java
...@googlemail.com] Date d'envoi : vendredi 24 février 2012 17:37 À : Tapestry users Objet : Re: tml parameter rendered into a JavaScript string It seems I'm having troubles explaining what it is I'm trying to do. I need an implementation for generateInfoWindowHtml() in the code below. @Import(library

RE : RE : tml parameter rendered into a JavaScript string

2012-02-25 Thread Guerin Laurent
release. Tanks for your feedback. Laurent De : Lance Java [lance.j...@googlemail.com] Date d'envoi : samedi 25 février 2012 11:49 À : Tapestry users Objet : Re: RE : tml parameter rendered into a JavaScript string Hi Laurent, I took a look at your

tml parameter rendered into a JavaScript string

2012-02-24 Thread Lance Java
I am writing a google maps component which can display markers on a map, each marker has an info window when it is clicked on. I'd like to pass a parameter to the component containing the tml to render each marker's info window. eg: Page.java @InjectComponent @Property GoogleMap

Re: tml parameter rendered into a JavaScript string

2012-02-24 Thread Thiago H. de Paula Figueiredo
If you need to generate JavaScript, do it by using JavaScriptSupport and imported .js files. On Fri, 24 Feb 2012 12:05:46 -0200, Lance Java lance.j...@googlemail.com wrote: I am writing a google maps component which can display markers on a map, each marker has an info window when it is

Re: tml parameter rendered into a JavaScript string

2012-02-24 Thread Lance Java
Hi Thiago, I realise that I will need to use JavascriptSupport and an imported .js file to achieve this. My question is about generating the JsonObject serverside which will be used in JavascriptSupport.addScript(). I need to have a javascript string containing the infowindow html (see

Re: tml parameter rendered into a JavaScript string

2012-02-24 Thread trsvax
as an argument. -- View this message in context: http://tapestry.1045711.n5.nabble.com/tml-parameter-rendered-into-a-JavaScript-string-tp5512889p5513139.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: tml parameter rendered into a JavaScript string

2012-02-24 Thread Lance Java
It seems I'm having troubles explaining what it is I'm trying to do. I need an implementation for generateInfoWindowHtml() in the code below. @Import(library=mygooglemap.js) public class GoogleMap { @Inject JavaScriptSupport jsSupport; @Parameter(required=true)

Re: tml parameter rendered into a JavaScript string

2012-02-24 Thread trsvax
loads Tapestry will call your initializer for each JSONObject you add. It also works for zones. addScript gets tricky for zones. -- View this message in context: http://tapestry.1045711.n5.nabble.com/tml-parameter-rendered-into-a-JavaScript-string-tp5512889p5513362.html Sent from the Tapestry

RE : tml parameter rendered into a JavaScript string

2012-02-24 Thread Guerin Laurent
d'envoi : vendredi 24 février 2012 17:37 À : Tapestry users Objet : Re: tml parameter rendered into a JavaScript string It seems I'm having troubles explaining what it is I'm trying to do. I need an implementation for generateInfoWindowHtml() in the code below. @Import(library=mygooglemap.js) public