Author: pyaschenko
Date: 2007-10-10 08:51:53 -0400 (Wed, 10 Oct 2007)
New Revision: 3307
Modified:
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
Log:
rf-881
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-10-10
11:40:35 UTC (rev 3306)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-10-10
12:51:53 UTC (rev 3307)
@@ -117,12 +117,12 @@
UITree tree = treeNode.getUITree();
if (tree.isShowConnectingLines()) {
- //if (((Boolean) (treeNode.getAttributes().get("isLastElement")))
- // .booleanValue()) {
- // variables.setVariable("line", "dr-tree-h-ic-line-last");
- //} else {
+ if (((Boolean) (treeNode.getAttributes().get("isLastElement")))
+ .booleanValue()) {
+ variables.setVariable("line", "dr-tree-h-ic-line-last");
+ } else {
variables.setVariable("line", "dr-tree-h-ic-line-node");
- //}
+ }
if (tree.isExpanded()) {
variables
.setVariable("lineFirst", "dr-tree-h-ic-line-exp");