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

Dora Rajappan commented on MYFACES-3817:
----------------------------------------

A redirect from page1 is clearing the viewmap and hence the next access to 
page1 cause the view to be built form tree and it get the state change. Not 
sure the spec mentioning to clear the viewmap for redirect. Not sure 
NUMBER_OF_SEQUENTIAL_VIEWS_IN_SESSION is excluded for redirect. Redirect 
generates a non faces response is mentioned in spec and it can exclude render 
cycle. Spec not mention about viewstate handling for redirect.

>  ajax redirect/navigation loosing state information when changes are executed 
> with redirect
> -------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3817
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3817
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.0-beta
>         Environment: Windows 8
>            Reporter: Dora Rajappan
>   Original Estimate: 0.8h
>  Remaining Estimate: 0.8h
>
>  Ajax redirect/navigation loosing state information when changes are executed 
> with redirect.  This can be addressed 
> #1 By putting a  flag in redirect and write it in response after save state 
> in rendering phase.
> #2 This behaviour true for redirect via navigation handler. In render phase 
> it goes to response complete and state saving is avoided. When its a redirect 
> not make the response complete true and flag it so that in rendering phase 
> state is saved.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to