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] [Comment Edited] (MYFACES-3816) missing window-handling for initial requests
Date Sun, 03 Nov 2013 16:36:17 GMT

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

Leonardo Uribe edited comment on MYFACES-3816 at 11/3/13 4:36 PM:
------------------------------------------------------------------

If it is not there it is not there. The point is the "default" behavior is described in a
explicit way. If you want to change that, we should create custom params to alter the default
behavior, or even better, we can reuse the existing param and create a new mode. 

I don't think we can force the interpretation of the spec to such extent. If is a bug it should
be raised and fixed against the spec and the lines in decode() method should be changed to
match the description required.

Other way to see it is ask "where should be done the redirect?" inside decode() method, there
is no choice.


was (Author: lu4242):
If it is not there it is not there. The point is the "default" behavior is described in a
explicit way. If you want to change that, we should create custom params to alter the default
behavior, or even better, we can reuse the existing param and create a new mode. 

I don't think we can force the interpretation of the spec to such extent. If is a bug it should
be raised and fixed against the spec and the lines in decode() method should be changed to
match the description required.

> 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