ICEfaces
  1. ICEfaces
  2. ICE-4060

Allow ICEfaces StateSaving default configuration without breaking delegate chain.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8DR#2
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      Using a faces-config.xml file in the ICEFaces jar file to configure an ICEfaces friendly version of the StateManager is good, but adding a separate configuration entry to an application faces-config.xml file causes three instances of the StateManager to be created in a delegate chain. The state saving operations need not be chained, only one instance of an ICEfaces StateManager need do work, plus the JSF StateManager for some Stream based operations.

      An approach will be to add the ability for our StateManager implementations to discover the StateManager hierarchy and to chose whether or not to do work or to strictly call the delegate based on whether any given instance is the default or an instance implemented by the Application author, which I'd presume would take priority.

      This approach requires that all containers discover and read the faces-config.xml files in the same order, something we'll discover as we go along.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18401 Mon Feb 23 10:48:52 MST 2009 greg.dick ICE-4060 Corrected delegation mode check
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/SingleCopyStateManagerImpl.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/ViewRootStateManagerImpl.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18389 Fri Feb 20 15:52:43 MST 2009 greg.dick ICE-4060 Allow instance to go into pure delegate mode if it finds another ICEfaces StateManager configured higher up the delegate chain
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/SingleCopyStateManagerImpl.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/ViewRootStateManagerImpl.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: