Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7RC1
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:deployed as portlet in liferay
Description
I have an ice:tree component with hideRootNode="true", and a backing bean that populates the model the value attribute is bound to.
When the tree renders it always shows a plus icon next to the perceived root node (actually the child of the root node, since the hideRootNode is set to true).
i.e.,
<invisible root node>
+ <perceived root>
The plus icon on the perceived root never changes to minus, whether the node is expanded or collapsed.
If I change the hideRootNode to false, then I see the true tree root node and all the +/- expand/contract icons work correctly.
Image attached.
When the tree renders it always shows a plus icon next to the perceived root node (actually the child of the root node, since the hideRootNode is set to true).
i.e.,
<invisible root node>
+ <perceived root>
The plus icon on the perceived root never changes to minus, whether the node is expanded or collapsed.
If I change the hideRootNode to false, then I see the true tree root node and all the +/- expand/contract icons work correctly.
Image attached.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P3 | |
Assignee | Yip Ng [ yip.ng ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
yip.ng
made changes -
Attachment | screenshot-6.jpg [ 11020 ] |
yip.ng
made changes -
Attachment | screenshot-5.jpg [ 11019 ] |
yip.ng
made changes -
Attachment | screenshot-4.jpg [ 11018 ] |
yip.ng
made changes -
Attachment | screenshot-3.jpg [ 11017 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16743 | Wed May 28 16:13:28 MDT 2008 | yip.ng | Fixed wrong/misaligned expand/collapse icon for first node of tree when hideRootNode = "true". |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/resources/css/rime/css-images/tree_nav_top_close.gif
MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16742 | Wed May 28 16:12:32 MDT 2008 | yip.ng | Fixed wrong/misaligned expand/collapse icon for first node of tree when hideRootNode = "true". |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/css-images/tree_nav_top_close.gif
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java |
yip.ng
made changes -
Attachment | screenshot-2.jpg [ 11016 ] |
yip.ng
made changes -
Attachment | screenshot-1.jpg [ 11012 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7.1 [ 10122 ] | |
Assignee Priority | P3 | |
Assignee | Yip Ng [ yip.ng ] |
Andrew Longley
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | icetreebug.JPG [ 10951 ] |
Andrew Longley
created issue -
Changes made based on Sheng Gu's suggestion, plus additional changes to fix the additional problems.