On Fri, 14 May 2010 05:26:51 -0300, Paul Stanton <p...@mapshed.com.au>
wrote:

previously (in tapestry4.1) i've done this by submitting the containing form asynchronously by providing a listener with the following annotation:

@EventListener(targets = "myComponent", events = "onValueChanged")
public void myListener()...

at this point i would update some components on the page and run some more javascript.

i imagine there's something similar in tapestry5 but it's not obvious to me yet.

JavaScript integration in Tapestry changed a lot from 4 to 5.
Take a look at http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained. It's the best explanation of how to deal with JavaScript.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to