You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/04/15 17:16:06 UTC

[jira] Updated: (WW-3006) Action method not called if sx:submit type is "image"

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

Musachy Barroso updated WW-3006:
--------------------------------

    Component/s:     (was: Plugin - Tags)
                 Plugin - Dojo Tags

Closing dojo related tickets as "Won't fix". if you have a patch for this issue, feel free to attach it and re-open.

> Action method not called if sx:submit type is "image"
> -----------------------------------------------------
>
>                 Key: WW-3006
>                 URL: https://issues.apache.org/struts/browse/WW-3006
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.6
>         Environment: Tomcat 6.0.18, java 1.5, Mac OS X 10.5.6
>            Reporter: Andrea Gandini
>            Priority: Critical
>
> In an <sx:submit/>, if type="image", the method "execute" is called instead of the required one.
> <sx:submit 
> 	value="up" 
> 	targets="mydiv" cssClass="btn"
> 	method="upMethod" />
> calls method "upMethod()" (correct)
> <sx:submit 
> 	type="image" src="image.png" 
> 	targets="mydiv" cssClass="btn"
> 	method="upMethod" />
> calls method "execute()" instead of "upMethod()"

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