Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.5, 1.1.6-SNAPSHOT, 1.2.0, 1.2.2-SNAPSHOT
    • Fix Version/s: 2.0.6, 2.1.0
    • Component/s: General
    • Labels:
      None

      Description

      There is a problem in JSF when more than one window are opened in an application. There are only a maximum number of NUMBER_OF_VIEWS_IN_SESSION view states saved at one moment (when server side state saving is enabled).
      If 2 windows are opened and you navigate on one of them for NUMBER_OF_VIEWS_IN_SESSION times, you will lose the other window's state.

        Issue Links

          Activity

          Hide
          Leonardo Uribe added a comment -

          Duplicate of MYFACES-3117

          Show
          Leonardo Uribe added a comment - Duplicate of MYFACES-3117
          Hide
          Simon Kitching added a comment -

          Please don't close as invalid.

          I agree that to solve this 100% for server-side state-saving, we would need some way of identifying different windows. And there simply is no way to do this with the current http standard.

          However It would be nice to provide some kind of hook so that if an application can tell its windows apart in some way, then the myfaces server-side state management will try to avoid stomping on entries that are marked as in use for "other windows".

          Of course using client-side-state solves this problem completely...

          This issue is marked as "improvement" which is correct..

          Show
          Simon Kitching added a comment - Please don't close as invalid. I agree that to solve this 100% for server-side state-saving, we would need some way of identifying different windows. And there simply is no way to do this with the current http standard. However It would be nice to provide some kind of hook so that if an application can tell its windows apart in some way, then the myfaces server-side state management will try to avoid stomping on entries that are marked as in use for "other windows". Of course using client-side-state solves this problem completely... This issue is marked as "improvement" which is correct..
          Hide
          Leonardo Uribe added a comment -

          I don't believe that it should be possible to do something on this case (for save one state).

          From the viewpoint of the server, if you have multiple frames, each frame is a request (so if it is a jsf page (and h:form tag) it should have state).

          Other solution is use facelets.

          I'll close this issue as invalid.

          Show
          Leonardo Uribe added a comment - I don't believe that it should be possible to do something on this case (for save one state). From the viewpoint of the server, if you have multiple frames, each frame is a request (so if it is a jsf page (and h:form tag) it should have state). Other solution is use facelets. I'll close this issue as invalid.

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              Nicu Mercioiu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development