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>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18850 | Thu May 07 11:47:31 MDT 2009 | yip.ng | Contributed patch from Stefen Niederhausen @ Mimacom. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java
|