Hi all,

I have a strange behavior when i try to trace which submit button have been used on a form :

<t:form t:id="testForm" t:zone="testZone">
   <t:submit t:id="submit1" t:value="1"/>
   <t:submit t:id="submit2" t:value="2"/>
</t:form>

void onSelectedFromSubmit1() {
   log.info("submit1");
}
void onSelectedFromSubmit2() {
   log.info("submit2");
}
whether i submit the form via the submit1 or submit2 button, the onSelectedFromSubmit1 function is called ...

Is it a known bug ?

Stephane

Reply via email to