You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by jgn <jg...@yahoo.com.mx> on 2008/04/14 06:49:00 UTC
Submit component and Zone Component
Hi. I have a page where I use the Zone component. Something like this:
<t:zone t:id="outputZone">
<t:delegate to="formBlock"/>
<t:block t:id="formBlock">
<t:form clientValidation="false" t:id="forma" t:zone="outputZone">
...
...
<input type="submit" t:type="submit" t:id="copiardir" value="Copiar
dirección de la dependencia"
class="boton"/>
...
...
<input type="button" t:id="grabar" t:type="submit" value="Grabar"
class="boton"></input>
...
...
</t:form>
</t:block>
</t:zone>
As you can see, I have 2 Submit buttons. So I have these functions on my
page:
void onSelectedFromGrabar() {
...
}
void onSelectedFromCopiardir(){
...
}
The problem is that pressing any of the 2 submit buttons The function that
is called is onSelectedFromCopiardir(). If I do not use the Zone component
every thing works fine.
Any Idea ?
Thanks
--
View this message in context: http://www.nabble.com/Submit-component-and-Zone-Component-tp16670494p16670494.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org