MyFaces Core
  1. MyFaces Core
  2. MYFACES-2540

Facelets server state saving does not work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta-2
    • Fix Version/s: 2.0.0-beta-2
    • Component/s: JSR-314
    • Labels:
      None
    • Environment:
      myfaces core trunk

      Description

      Facelets server state saving does not work: StateManager.saveView in not called during ViewDeclarationLanguage.renderView in case of server state saving. Please see attached patch for details.

      1. MYFACES-2540-2.patch
        1 kB
        Leonardo Uribe
      2. MYFACES-2540.patch
        2 kB
        Martin Kočí

        Activity

        Hide
        Leonardo Uribe added a comment -

        Thanks to Martin Koci for provide this patch

        Show
        Leonardo Uribe added a comment - Thanks to Martin Koci for provide this patch
        Hide
        Leonardo Uribe added a comment -

        I attached a patch with a modification about where it should be called stateMgr.saveView(context). This form is preferred because it is only called when it is necessary. The other way call it even in cases where we have pages that does not write the state token.

        Show
        Leonardo Uribe added a comment - I attached a patch with a modification about where it should be called stateMgr.saveView(context). This form is preferred because it is only called when it is necessary. The other way call it even in cases where we have pages that does not write the state token.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development