[ 
https://issues.apache.org/jira/browse/MYFACES-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868379#action_12868379
 ] 

Jakob Korherr commented on MYFACES-2719:
----------------------------------------

>From the spec section 7.4.2: "If isRedirect is true, append the queryString to 
>implicitViewId."

This implicates that queryString should be parsed for parameters and those 
parameters should be added as the parameters of the resulting NavigationCase, 
because the viewId itself must not contain anything more than 
page.fileextension (whereas fileextension normally is xhtml or jsp).

> faces-redirect=true lost the url parameters
> -------------------------------------------
>
>                 Key: MYFACES-2719
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2719
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0
>         Environment: windows xp, jetty
>            Reporter: Alexander Ilyin
>            Assignee: Jakob Korherr
>
> Looks like MyFaces ignores the url parameters within the outcome string.
> F.g. 
>       public String doIt(){
>               
>               return "test2.xhtml?cur=33&faces-redirect=true";
>       }
> Will redirect to test2.xhtml but without the cur=33 parameter. 
> I successfully use this practice in Mojarra as only way to keep the url 
> parameters after executing some action and using the PRG pattern now 
> supported by JSF 2.0

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