On Tue, 10 Dec 2013 09:20:26 -0200, Javier Val Lista <javilan...@gmail.com> wrote:

Hi Tiago!

Hi!

To contextualize what I want to do: I have a page with a select, and
textarea. The idea is that in the onchange event of the select, a call is
made to the servlet to retrieve a DB text, and initialize the textarea with this text.

Ok, this isn't a scenario for Zone. What I said before was based on the code you've provided.

To use a Zone and refresh the value of the textarea, I need the onchange
event of the select to invoke a Java function. How could I do this for
Tapestry 5.1?

(I know from Tapestry 5.2 this is possible)

You can use the exact same code from Tapestry 5.2 in Tapestry 5.1 and it'll work (except for the JavaScriptSupport service that was named RenderSupport in 5.1 but works exactly the same).

--
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

Reply via email to