myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Resolved) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (EXTCDI-242) improve ClientSideWindowHandler windowId passing via cookie
Date Fri, 02 Dec 2011 12:19:39 GMT

     [ https://issues.apache.org/jira/browse/EXTCDI-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg resolved EXTCDI-242.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2
    
> improve ClientSideWindowHandler windowId passing via cookie
> -----------------------------------------------------------
>
>                 Key: EXTCDI-242
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-242
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>    Affects Versions: 1.0.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.2
>
>
> Currently passing the windowId via cookie has the same issues as the JSF ViewMap and
FlashScope. If a user is 'too fast' in clicking on different links (imagine a h:dataTable
of 'edit customer' and some user clicking through the list with the middle mouse button),
then we will get the wrong windowId in the cookie.
> By using the clientsideWindowHandler we can also easily introduce a random token which
we add to the request and store the cookie with the windowId in it. 
> Actually I think we can even add the windowId directly to each URL, and make the intermediate
windowhandler.html remove or fix the windowId based on the information in window.name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message