ICEfaces
  1. ICEfaces
  2. ICE-5217

Compat: PanelCollapsible does not work well

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Alpha2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      PanelCollapsible

      Description

      Joanne Bai wrote:
      > Glimmer/Compat revision #19959
      > Server tested: Tomcat 6
      > Browser tested: FF3.5
      >
      > 1. Components that are having problems
      >
      > - Collapsible Panel: Does not work well. Sometimes, closing one panel could open the panel next to it.

        Issue Links

          Activity

          Adnan Durrani created issue -
          Hide
          Adnan Durrani added a comment -

          Doesn't seems like if component's code have any problem. The decode is being happen for the right collapsible component. Strangly the following Param fixs this problem.

          <context-param>
          <param-name>javax.faces.FULL_STATE_SAVING_VIEW_IDS</param-name>
          <param-value>/showcase.xhtml</param-value>
          </context-param>

          Show
          Adnan Durrani added a comment - Doesn't seems like if component's code have any problem. The decode is being happen for the right collapsible component. Strangly the following Param fixs this problem. <context-param> <param-name>javax.faces.FULL_STATE_SAVING_VIEW_IDS</param-name> <param-value>/showcase.xhtml</param-value> </context-param>
          Adnan Durrani made changes -
          Field Original Value New Value
          Link This issue blocks ICE-4458 [ ICE-4458 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19995 Tue Dec 15 16:19:25 MST 2009 adnan.durrani Fix for PanelCollpsible ICE-5217 (Compat: PanelCollapsible does not work well)
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/panelcollapsible/PanelCollapsible.java
          Hide
          Adnan Durrani added a comment -

          To support UIData the panelCollapsible keeps its "expended" state in a map, which was not saved and restored separately. Changes made so the component still keeps the expended state inside the map, but save/restore it on the bases of compnent's client Id.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\components\src\main\java\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\components\src\main\java\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java
          Completed: At revision: 19995

          Show
          Adnan Durrani added a comment - To support UIData the panelCollapsible keeps its "expended" state in a map, which was not saved and restored separately. Changes made so the component still keeps the expended state inside the map, but save/restore it on the bases of compnent's client Id. Modified: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\components\src\main\java\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\components\src\main\java\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java Completed: At revision: 19995
          Adnan Durrani made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0-Alpha2 [ 10214 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Adnan Durrani
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: