tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Closed: (TAPESTRY-2324) Wrong Submit 'selected' event fired when using a Form with a Zone parameter
Date Sat, 06 Sep 2008 00:02:44 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAPESTRY-2324.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.15

Upgrade to Prototype 1.6.0.2 while I was working everything over.

> Wrong Submit 'selected' event fired when using a Form with a Zone parameter
> ---------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2324
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2324
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.12
>         Environment: Jetty 5.1.12; Tapestry 5.0.12-SNAPSHOT
>            Reporter: Peter Beshai
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.15
>
>         Attachments: TAPESTRY-2324.patch, Tapestry-2324_5.0.14.patch, TAPESTRY-2324_r686911.patch
>
>
> 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>
> 	

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message