Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.12
-
None
-
Jetty 5.1.12; Tapestry 5.0.12-SNAPSHOT
Description
Given the following code:
void onSelectedFromSave()
{
System.out.println("save");
}
void onSelectedFromCancelChanges()
{
System.out.println("cancel");
}
The following template outputs 'save' when clicking on the save button and 'cancel' when clicking on the cancel button
<t:form t:id="finalizeChanges" zone="testZone">
<t:submit t:id="save"/>
<t:submit t:id="cancelChanges"/>
</t:form>
The following template/code outputs 'save' when clicking on the save button and 'save' when clicking on the cancel button
<t:zone t:id="testZone">
<t:form t:id="finalizeChanges" zone="testZone">
<t:submit t:id="save"/>
<t:submit t:id="cancelChanges"/>
</t:form>
</t:zone>
The following template/code outputs 'cancel' when clicking on the save button and 'cancel' when clicking on the cancel button
<t:zone t:id="testZone">
<t:form t:id="finalizeChanges" zone="testZone">
<t:submit t:id="cancelChanges"/>
<t:submit t:id="save"/>
</t:form>
</t:zone>
Attachments
Attachments
Issue Links
- relates to
-
TAP5-1418 Image submits do not set the javascript submitting element value.
- Closed