myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Created) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (EXTCDI-242) improve ClientSideWindowHandler windowId passing via cookie
Date Thu, 17 Nov 2011 08:18:51 GMT
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: Jakob Korherr


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