ICEfaces
  1. ICEfaces
  2. ICE-3442

Component saveState restoreState

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      saveState and restoreState with components

        Issue Links

          Activity

          Hide
          Mark Collette added a comment -

          TRUNK
          Subversion 17707
          icefaces\component\src\com\icesoft\faces\component\ext\HeaderRow.java
          icefaces\component\src\com\icesoft\faces\component\ext\HtmlCommandButton.java
          icefaces\component\src\com\icesoft\faces\component\outputprogress\OutputProgress.java
          icefaces\component\src\com\icesoft\faces\component\panelborder\PanelBorder.java
          icefaces\component\src\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java
          icefaces\component\src\com\icesoft\faces\component\panellayout\PanelLayout.java
          icefaces\component\src\com\icesoft\faces\component\portlet\Portlet.java

          Show
          Mark Collette added a comment - TRUNK Subversion 17707 icefaces\component\src\com\icesoft\faces\component\ext\HeaderRow.java icefaces\component\src\com\icesoft\faces\component\ext\HtmlCommandButton.java icefaces\component\src\com\icesoft\faces\component\outputprogress\OutputProgress.java icefaces\component\src\com\icesoft\faces\component\panelborder\PanelBorder.java icefaces\component\src\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java icefaces\component\src\com\icesoft\faces\component\panellayout\PanelLayout.java icefaces\component\src\com\icesoft\faces\component\portlet\Portlet.java
          Hide
          Mark Collette added a comment -

          In order to save and restore the state for OutputChart, I had to make some changes to how it managed its image resource.

          TRUNK
          Subversion 17713
          icefaces\component\src\com\icesoft\faces\component\outputchart\AbstractChart.java
          icefaces\component\src\com\icesoft\faces\component\outputchart\ChartResource.java
          icefaces\component\src\com\icesoft\faces\component\outputchart\OutputChart.java
          icefaces\core\src\com\icesoft\faces\context\ByteArrayResource.java

          Show
          Mark Collette added a comment - In order to save and restore the state for OutputChart, I had to make some changes to how it managed its image resource. TRUNK Subversion 17713 icefaces\component\src\com\icesoft\faces\component\outputchart\AbstractChart.java icefaces\component\src\com\icesoft\faces\component\outputchart\ChartResource.java icefaces\component\src\com\icesoft\faces\component\outputchart\OutputChart.java icefaces\core\src\com\icesoft\faces\context\ByteArrayResource.java
          Hide
          Adnan Durrani added a comment -

          Trunk revision: 17799 [MockTestCase is using our own MockExternalContext]

          Show
          Adnan Durrani added a comment - Trunk revision: 17799 [MockTestCase is using our own MockExternalContext]
          Hide
          Mark Collette added a comment -

          Starting to fix failures found with ICE-3696's test.

          TRUNK
          Subversion 17832
          icefaces\component\src\com\icesoft\faces\component\ext\UIColumn.java
          icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java

          Show
          Mark Collette added a comment - Starting to fix failures found with ICE-3696 's test. TRUNK Subversion 17832 icefaces\component\src\com\icesoft\faces\component\ext\UIColumn.java icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java
          Hide
          Mark Collette added a comment -

          For ICE-3696's test to work properly, the following classes had to be augmented to properly implement a deep version of Object.equals(Object). Resource, UpdatableProperty, Effect, CurrentStyle.

          TRUNK
          Subversion 17847
          icefaces\component\src\com\icesoft\faces\component\outputchart\ChartResource.java
          icefaces\component\src\com\icesoft\faces\utils\UpdatableProperty.java
          icefaces\core\src\com\icesoft\faces\context\ByteArrayResource.java
          icefaces\core\src\com\icesoft\faces\context\effects\Fade.java
          icefaces\core\src\com\icesoft\faces\context\effects\Puff.java
          icefaces\core\src\com\icesoft\faces\context\effects\EffectQueue.java
          icefaces\core\src\com\icesoft\faces\context\effects\CurrentStyle.java
          icefaces\core\src\com\icesoft\faces\context\effects\Appear.java
          icefaces\core\src\com\icesoft\faces\context\effects\Squish.java
          icefaces\core\src\com\icesoft\faces\context\effects\Grow.java
          icefaces\core\src\com\icesoft\faces\context\effects\Focus.java
          icefaces\core\src\com\icesoft\faces\context\effects\BlindDown.java
          icefaces\core\src\com\icesoft\faces\context\effects\Scale.java
          icefaces\core\src\com\icesoft\faces\context\effects\SlideDown.java
          icefaces\core\src\com\icesoft\faces\context\effects\Shake.java
          icefaces\core\src\com\icesoft\faces\context\effects\DropOut.java
          icefaces\core\src\com\icesoft\faces\context\effects\SwitchOff.java
          icefaces\core\src\com\icesoft\faces\context\effects\BlindUp.java
          icefaces\core\src\com\icesoft\faces\context\effects\BlankEffect.java
          icefaces\core\src\com\icesoft\faces\context\effects\EffectsArguments.java
          icefaces\core\src\com\icesoft\faces\context\effects\SlideUp.java
          icefaces\core\src\com\icesoft\faces\context\effects\Move.java
          icefaces\core\src\com\icesoft\faces\context\effects\Highlight.java
          icefaces\core\src\com\icesoft\faces\context\effects\Opacity.java
          icefaces\core\src\com\icesoft\faces\context\effects\Pulsate.java
          icefaces\core\src\com\icesoft\faces\context\effects\Fold.java
          icefaces\core\src\com\icesoft\faces\context\effects\Effect.java
          icefaces\core\src\com\icesoft\faces\context\effects\Shrink.java
          icefaces\core\src\com\icesoft\faces\util\CoreUtils.java

          Show
          Mark Collette added a comment - For ICE-3696 's test to work properly, the following classes had to be augmented to properly implement a deep version of Object.equals(Object). Resource, UpdatableProperty, Effect, CurrentStyle. TRUNK Subversion 17847 icefaces\component\src\com\icesoft\faces\component\outputchart\ChartResource.java icefaces\component\src\com\icesoft\faces\utils\UpdatableProperty.java icefaces\core\src\com\icesoft\faces\context\ByteArrayResource.java icefaces\core\src\com\icesoft\faces\context\effects\Fade.java icefaces\core\src\com\icesoft\faces\context\effects\Puff.java icefaces\core\src\com\icesoft\faces\context\effects\EffectQueue.java icefaces\core\src\com\icesoft\faces\context\effects\CurrentStyle.java icefaces\core\src\com\icesoft\faces\context\effects\Appear.java icefaces\core\src\com\icesoft\faces\context\effects\Squish.java icefaces\core\src\com\icesoft\faces\context\effects\Grow.java icefaces\core\src\com\icesoft\faces\context\effects\Focus.java icefaces\core\src\com\icesoft\faces\context\effects\BlindDown.java icefaces\core\src\com\icesoft\faces\context\effects\Scale.java icefaces\core\src\com\icesoft\faces\context\effects\SlideDown.java icefaces\core\src\com\icesoft\faces\context\effects\Shake.java icefaces\core\src\com\icesoft\faces\context\effects\DropOut.java icefaces\core\src\com\icesoft\faces\context\effects\SwitchOff.java icefaces\core\src\com\icesoft\faces\context\effects\BlindUp.java icefaces\core\src\com\icesoft\faces\context\effects\BlankEffect.java icefaces\core\src\com\icesoft\faces\context\effects\EffectsArguments.java icefaces\core\src\com\icesoft\faces\context\effects\SlideUp.java icefaces\core\src\com\icesoft\faces\context\effects\Move.java icefaces\core\src\com\icesoft\faces\context\effects\Highlight.java icefaces\core\src\com\icesoft\faces\context\effects\Opacity.java icefaces\core\src\com\icesoft\faces\context\effects\Pulsate.java icefaces\core\src\com\icesoft\faces\context\effects\Fold.java icefaces\core\src\com\icesoft\faces\context\effects\Effect.java icefaces\core\src\com\icesoft\faces\context\effects\Shrink.java icefaces\core\src\com\icesoft\faces\util\CoreUtils.java

            People

            • Assignee:
              Unassigned
              Reporter:
              Frank Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: