MyFaces Core
  1. MyFaces Core
  2. MYFACES-3142

h:outputScript and h:outputStylesheet renderer listeners cannot implement PartialStateHolder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.6, 2.1.0
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Long time ago I tried to make h:outputScript and h:outputStylesheet implement PartialStateHolder, to reduce the view state to the minimal. This works well, as long as you don't use javax.faces.FULL_STATE_SAVING_VIEW_IDS param, or in other words, you'll have views that require normal state saving, written in facelets and using those tags (a very exotic case indeed, since MyFaces PSS works very well).

      We need to remove the marker for PartialStateHolder on both renderers, but note there is still a change to fix it correctly from UIComponent, checking if the listener comes from a renderer and if so, restore it properly (calling getRenderer() or something like that).

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development