Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-242

improve ClientSideWindowHandler windowId passing via cookie

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: