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.
one additional note: it seems to only be an issue when there is a single perceived root node of the hidden root node. If there are two perceived root nodes of the hidden root node, the problem goes away, i.e.,
<invisible root node>
+ child 1