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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to