See
http://tapestry.1045711.n5.nabble.com/Getting-the-HTML-markup-string-from-a-RenderCommand-td5564418.html
On Friday, 24 February 2012, Lance Java wrote:
> 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
r Database
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
m/exanpe/exanpe-t5-lib/blob/master/src/main/java/fr/exanpe/t5/lib/components/GMap.java
>>
>> The JS part (l. 2809) :
>>
>>
https://github.com/exanpe/exanpe-t5-lib/blob/master/src/main/resources/fr/exanpe/t5/lib/components/js/exanpe-t5-lib.js
>>
>> Laurent.
>>
>> __
n the next 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
t; Laurent.
>
>
> De : Lance Java [lance.j...@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 explainin
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="myg
);
})(jQuery);
When your page 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.ht
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)
R
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.
---
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
http://code
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
wrote:
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 pas
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 mygoogle
12 matches
Mail list logo