Hello!

I have the following structure:

<t:zone t:id="zone">
<form t:zone="zone">
<t:textfield />
<t:textfield />
<input value="first" t:type="submit" t:id="first"/>
<input value="second" t:type="submit" t:id="second"/>
<input value="third" t:type="submit" t:id="third"/>
</form>
</t:zone>

What i am trying to do is that when either FIRST or SECOND button is pressed
then the zone would be ignored and the form submitted without XHR request. 

I can understand that adding onclick="this.form.submit()" to a button will
ignore zone and just submit it. However, i have multiple buttons that i
control with onSelectedFrom<button-name>. How do i go about fireing
onSelectedFrom event from javascript or use any other method to ignore zone
when those forms are clicked?

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-Zone-form-How-to-ignore-XHR-request-from-one-button-tp5513382p5513382.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