You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jason Wyatt (JIRA)" <ji...@apache.org> on 2007/05/18 03:10:43 UTC

[jira] Created: (WW-1930) Submit value lost when ajax theme used to target action

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
            Priority: Minor


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.


[jira] Resolved: (WW-1930) Submit value lost when ajax theme used to target action

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-1930.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.9)
                   2.1.0

The value will be appended to the request URL. (value and name need to be set on the submit tag)

Thanks for reporting

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


[jira] Assigned: (WW-1930) Submit value lost when ajax theme used to target action

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso reassigned WW-1930:
-----------------------------------

    Assignee: Musachy Barroso

> 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
>         Assigned To: Musachy Barroso
>            Priority: Minor
>
> 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.


[jira] Updated: (WW-1930) Submit value lost when ajax theme used to target action

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-1930:
--------------------------

    Fix Version/s: 2.0.9

> 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
>         Assigned To: 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.


[jira] Commented: (WW-1930) Submit value lost when ajax theme used to target action

Posted by "Jason Wyatt (JIRA)" <ji...@apache.org>.
    [ 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.