Hi everyone,

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 read the doc and I found exactly what I needed :
http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html

My problem is that this "zone" parameter is not available for me : I'm
working on an Tapestry 5.1.0.5 application.

Can you just help me to find a solution ?

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 ?
- easier : given that a Tapestry select component is always included in a
<t:form> component, I could use some JS to intercept the event : "the user
is clicking on a <option> markup" and then trigger at this time the <t:form>
(ajax way) with "$("idForm").fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);"

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

Thank you for the feedback.

Best regards everyone!

http://twitter.com/lboix


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Select-component-and-Ajax-Tapestry-version-5-2-0-tp4504415p4504415.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to