On Sun, 19 Jun 2011 18:05:19 -0300, Luciano <bg...@hotmail.com> wrote:

Hi everyone,

Hi!

my case is quite simple : somewhere on the website I'm working on, I need to trigger an Ajax request each time the internaut selects a new <option>
manipulating a regular HTML Select component.
I'm thinking about this :
- is it possible to patch the concerned files in order to add this new
"zone" parameter for the Tapestry select component ?

It is, but I wouldn't recommend that. I'd copy the Tapestry 5.2.5 Select component and call it AjaxSelect and something like this and add it to your project.

What do you think ? Does anyone here faced this particular situation ?

I implemented something like that (updating a <select> based on the selection in another <select>)in an unreleased but used package. Sources here: http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/brasil-tapestry/trunk/

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