Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In JSF the user can choose to save state on the server or the client via the javax.faces.STATE_SAVING_METHOD context parameter. Because this is a global setting that applies to all views in the application, it's not really flexible.

      I would like to propose making this more flexible. Ideally the user would have three options for state: none (see JAVASERVERFACES_SPEC_PUBLIC-1055), client and server and would be able to set this globally, per URL pattern, or per view.

      Setting the state saving method on a view would override any setting done per URL pattern, and setting state saving for a URL pattern overrides the global setting.

        Activity

        arjan tijms created issue -
        Hide
        Ed Burns added a comment -

        Although this would be very useful, we have to leave this as Fix Version unknown because I haven't figured out yet how to fit it into JSF 2.2.

        Show
        Ed Burns added a comment - Although this would be very useful, we have to leave this as Fix Version unknown because I haven't figured out yet how to fit it into JSF 2.2.
        Ed Burns made changes -
        Field Original Value New Value
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s 2.3 [ 16372 ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]
        Manfred Riem made changes -
        Priority Minor [ 4 ] Critical [ 2 ]
        Manfred Riem made changes -
        Assignee Manfred Riem [ mriem ]
        arjan tijms made changes -
        Description In JSF the user can choose to save state on the server or the client via the {{javax.faces.STATE_SAVING_METHOD}} context parameter. Because this is a global setting that applies to all views in the application, it's not really flexible.

        I would like to propose making this more flexible. Ideally the user would have three options for state: {{none}} (see JAVASERVERFACES_SPEC_PUBLIC-1055), {{client}} and {{server}} and would be able to set this globally, per URL pattern, or per view.

        Setting the state saving method on a view would override any setting done per URL pattern, and setting state saving for a URL pattern overrides the global setting.

        One step further would be to even allow setting the state saving method per individual component.
        In JSF the user can choose to save state on the server or the client via the {{javax.faces.STATE_SAVING_METHOD}} context parameter. Because this is a global setting that applies to all views in the application, it's not really flexible.

        I would like to propose making this more flexible. Ideally the user would have three options for state: {{none}} (see JAVASERVERFACES_SPEC_PUBLIC-1055), {{client}} and {{server}} and would be able to set this globally, per URL pattern, or per view.

        Setting the state saving method on a view would override any setting done per URL pattern, and setting state saving for a URL pattern overrides the global setting.
        Hide
        Manfred Riem added a comment -

        Closing this issue as "Incomplete" as the scope is too large. Note that the EG wants work in the area of state saving, but I have told them the scope of the issue to tackle things needs to be smaller.

        Show
        Manfred Riem added a comment - Closing this issue as "Incomplete" as the scope is too large. Note that the EG wants work in the area of state saving, but I have told them the scope of the issue to tackle things needs to be smaller.
        Manfred Riem made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Incomplete [ 4 ]

          People

          • Assignee:
            Manfred Riem
            Reporter:
            arjan tijms
          • Votes:
            14 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: