Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2-EE-GA
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
Use case: A panelGroup is using the effects SlideUp and SlideDown to show and hide the panel. This panelGroup is also in a panelCollapsible component. The recommended method to use the effect is to have the effect control the visibility of the panel. Therefore the visible attribute is set to false. When a link is clicked to show this panel it works fine.
The issue is that when the panelCollapsible is contracted and then expanded the visible attribute seems to be reset to its false state, even when the panel has been shown. This leads to an issue where the effects are not in sync.
This also seems to be an issue with the panelTabSet: http://www.icefaces.org/JForum/posts/list/11465.page
The issue is that when the panelCollapsible is contracted and then expanded the visible attribute seems to be reset to its false state, even when the panel has been shown. This leads to an issue where the effects are not in sync.
This also seems to be an issue with the panelTabSet: http://www.icefaces.org/JForum/posts/list/11465.page
-
Hide
- Case8814Example.war
- 6.73 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 2 kB
- WEB-INF/faces-config.xml 2 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/icefaces-comps.jar 1.95 MB
- WEB-INF/lib/icefaces.jar 1.19 MB
- WEB-INF/lib/jsf-api.jar 352 kB
- WEB-INF/lib/jsf-impl.jar 822 kB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/web.xml 4 kB
- index.jsp 0.1 kB
- main.jspx 5 kB
- main2.jspx 2 kB
- page1.jspx 0.8 kB
-
- Case8814Example-src.zip
- 18 kB
- Arran Mccullough
-
- TestBean.java
- 2 kB
- Arran Mccullough
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Can you please attach source of the bean.
Show
Adnan Durrani
added a comment - Can you please attach source of the bean.
Its not related to the panelCollapsible or any other component. Its due to the reason that effects change the visible property on the client side and server doesn't know anything about it. So when the component that has changed by the Effect is part of the domUpdate, it gets rerender according to its visibility property.
Show
Adnan Durrani
added a comment - Its not related to the panelCollapsible or any other component. Its due to the reason that effects change the visible property on the client side and server doesn't know anything about it. So when the component that has changed by the Effect is part of the domUpdate, it gets rerender according to its visibility property.
Its not a bug, Its just they way component works. It could be fixed under an enhancement. Do we want to add this enhancement?
Show
Adnan Durrani
added a comment - Its not a bug, Its just they way component works. It could be fixed under an enhancement. Do we want to add this enhancement?
Attached test case. main2.jspx has the scaled down test case that shows this issue. To replicate, click on the show link in the panelCollapsible. Then contract and expand the panelCollapsible. The link will be displayed as show but the panel will SlideUp. The backing bean and the page code are out of sync.