myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Comment Edited] (MYFACES-3817) ajax redirect loosing state information when changes are executed with redirect
Date Mon, 04 Nov 2013 16:43:21 GMT

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

Dora Rajappan edited comment on MYFACES-3817 at 11/4/13 4:42 PM:
-----------------------------------------------------------------

Both client and server side state saving ajax redirect loose changes executed with redirect.
<partial-response><redirect url="/portlet-bridge-facelets-guess/guessroleoriginal.jsf"></redirect></partial-response>
No state information is sent to the page. In the case of redirect the view is built in a different
way and you still get the state changes. Hence this bug can be closed and need not be handled.


was (Author: dorarajappan):
With Client side state saving the changes executed with ajax redirect are saved in state.
Hence the same behaviour is expected in server side state saving also.

>  ajax redirect 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 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)

Mime
View raw message