You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2018/06/10 12:12:00 UTC
[jira] [Commented] (MYFACES-4189) Multi valued query parameter not
considered in commandbutton action
[ https://issues.apache.org/jira/browse/MYFACES-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507373#comment-16507373 ]
Thomas Andraschko commented on MYFACES-4189:
--------------------------------------------
any update?
> Multi valued query parameter not considered in commandbutton action
> -------------------------------------------------------------------
>
> Key: MYFACES-4189
> URL: https://issues.apache.org/jira/browse/MYFACES-4189
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.12
> Reporter: Dominik Schmidt
> Priority: Major
>
> *xhtml page:*
> {code:java}
> <h:commandButton action="#{user.login}"/>{code}
> *Java bean:*
> {code:java}
> private String returnUrl =
> "catalogsearch.jsf?fq=param1&fq=param2&faces-redirect=true&includeViewParams=true";
> public String login() {
> return returnUrl;
> }{code}
>
> *expected http response result:*
> {code:java}
> HTTP/1.1 302 Found
> Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param1&fq=param2{code}
> *actual http response result:*
> {code:java}
> HTTP/1.1 302 Found
> Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param2{code}
>
> *Affected versions (myfaces):*
> * 2.2.9
> * 2.2.12
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)