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

          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>
          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: