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

Musachy Barroso resolved WW-3006.
---------------------------------

    Resolution: Won't Fix

> 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.

Reply via email to