On Sun, 15 Jun 2014 21:35:34 -0300, Sanket Sharma <sanketsha...@gmail.com>
wrote:
Hi,
Hi!
Now, in my application I have a open street map control that needs to be
updated when a selection/text changes on the form. I was wondering what
is the best way to do it in T5.4?
I can potentially create a Mixin as described in jumpstart:
The code you pasted in your e-mail didn't make it to the mailing list, so
we cannot comment on it.
Mixins are a very powerful and interesting tool. The scenario you describe
seems a good match for a mixin.
Not sure if that is the best way? I can also inject script directly
using javaScriptSupport.addScript
or can create a module that gets loaded and initiated when the page
finishes loading..
JavaScriptSupport.addScript() is deprecated, so a module is the way to go
in 5.4.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org