[ 
https://issues.apache.org/struts/browse/WW-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41151
 ] 

Jason Wyatt commented on WW-1930:
---------------------------------

A workaround is possible, using query parameters appended to the submit 
button's target action/url.

Use <s:submit  ...  href="<action>?submit=<value>" />   instead of  <s:submit  
...  action="<action>" />

eg:

<s:submit name="submit" value="Save" formId="summaryForm" 
href="NcrSummaryAction.do?submit=Save" targets="summaryTab" theme="ajax"  />



> Submit value lost when ajax theme used to target action
> -------------------------------------------------------
>
>                 Key: WW-1930
>                 URL: https://issues.apache.org/struts/browse/WW-1930
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: Tomcat  5.5
>            Reporter: Jason Wyatt
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: 2.0.9
>
>
> If I have an <s:submit  name="submit" value="Save">  tag, the parameter 
> "submit=Save" is normally submitted in the request.
> If I have <s:submit  name="submit" value="Save" action="myAction" 
> theme="ajax">  the submit parameter is no longer submitted in the request. 

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