myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3816) missing window-handling for initial requests
Date Sun, 03 Nov 2013 15:05:17 GMT

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

Leonardo Uribe commented on MYFACES-3816:
-----------------------------------------

I don't think this is a bug. The "url" mode works just like the same mode in Mojarra does,
and it is better to keep this mode in that way, to ensure compatibility in testing.

Instead we could create a new mode "url-redirect" that do what you propose.

Note the "client" mode, implemented in CODIClientSideWindow.java do the redirect.

> missing window-handling for initial requests
> --------------------------------------------
>
>                 Key: MYFACES-3816
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3816
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-344
>    Affects Versions: 2.2.0-beta
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>
> for an initial request there is no window-id added to the url.
> (tested with 'url' for javax.faces.CLIENT_WINDOW_MODE)
> -> in case of a page refresh a new window-id will be created and it isn't possible
to get back the original one. that can also happen with a page-refresh after multiple requests,
if only ajax requests are used.
> that's a major issue for all scopes based on the window-id.
> it can be done with an initial redirect (default in codi) or js (with html5 compliant
browsers)



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

Mime
View raw message