Hi Tiago! Thanks for the reply.
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. 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) Thanks!! 2013/12/10 Thiago H de Paula Figueiredo <thiag...@gmail.com> > On Tue, 10 Dec 2013 07:17:59 -0200, Javier Val Lista <javilan...@gmail.com> > wrote: > > Hi! >> > > Hi! > > I'm trying to make an ajax call from the tml page. The idea would be to >> invoke a servlet to return me a string. >> > > Why use a servlet when you're using Tapestry? It doesn't make any sense at > all. Check the EventLink and Zone components to do something very similar > to what you're doing without writing a single line of JavaScript and > without writing any servlet (which is sooooo 2000). > > -- > 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 > >