Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Fix Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:N/A
Description
When rendered by ice:treeNode is false (if tree.isNodeVisible(node) == false) navigation lines to non-rendered nodes are visible.
<ice:tree id="tree"
value="#{tree.model}"
var="node"
hideRootNode="true"
hideNavigation="false"
imageDir="#{styleBean.imageDirectory}" >
<ice:treeNode rendered="#{tree.isNodeVisible(node)}">
<f:facet name="icon">
<ice:panelGroup styleClass="treeNode">
<ice:graphicImage value="/xmlhttp/css/#{styleBean.currentStyle}/css-images/#{node.userObject.icon}" />
</ice:panelGroup>
</f:facet>
<f:facet name="content">
<ice:commandLink action="#{tree.setSelectedNode(node)}"
styleClass="selectedNode#{node eq tree.selectedNode} treeText" >
<ice:outputText id="TreeNode"
value="#{node.userObject.text}" />
</ice:commandLink>
</f:facet>
</ice:treeNode>
</ice:tree>
<ice:tree id="tree"
value="#{tree.model}"
var="node"
hideRootNode="true"
hideNavigation="false"
imageDir="#{styleBean.imageDirectory}" >
<ice:treeNode rendered="#{tree.isNodeVisible(node)}">
<f:facet name="icon">
<ice:panelGroup styleClass="treeNode">
<ice:graphicImage value="/xmlhttp/css/#{styleBean.currentStyle}/css-images/#{node.userObject.icon}" />
</ice:panelGroup>
</f:facet>
<f:facet name="content">
<ice:commandLink action="#{tree.setSelectedNode(node)}"
styleClass="selectedNode#{node eq tree.selectedNode} treeText" >
<ice:outputText id="TreeNode"
value="#{node.userObject.text}" />
</ice:commandLink>
</f:facet>
</ice:treeNode>
</ice:tree>
As you can see on attached picture the problem haven't been resolved yet. There is an unfinished navigation line under node "Garcia, Benjamin". I've tested this on version 1.8.2. So you can think about to reopen this issue.