.v-tree-node-expanded {
background-position: -7px 5px;
}
-.v-tree-connectors .v-tree-node-leaf {
+.v-tree-connectors .v-tree-node-leaf,
+.v-tree-connectors .v-tree-node-leaf:hover {
background-position: 8px -1px;
}
-.v-ie6 .v-tree-connectors div.v-tree-node-leaf {
+.v-ie6 .v-tree-connectors div.v-tree-node-leaf,
+.v-ie6 .v-tree-connectors div.v-tree-node-leaf:hover {
background: transparent url(../../base/tree/img/connector-item.png) no-repeat 8px -1px;
}
-.v-ie6 .v-tree-connectors div.v-tree-node-leaf-last {
+.v-ie6 .v-tree-connectors div.v-tree-node-leaf-last,
+.v-ie6 .v-tree-connectors div.v-tree-node-leaf-last:hover {
background: transparent url(../../base/tree/img/connector-item-last.png) no-repeat 8px -1px;
}
.v-tree-node-caption {
body.clear();
TreeNode childTree = null;
+ UIDL childUidl = null;
for (final Iterator<?> i = uidl.getChildIterator(); i.hasNext();) {
- final UIDL childUidl = (UIDL) i.next();
+ childUidl = (UIDL) i.next();
if ("actions".equals(childUidl.getTag())) {
updateActionMap(childUidl);
continue;
childTree.addStyleDependentName("root");
childTree.childNodeContainer.addStyleDependentName("root");
}
- if (childTree != null) {
- boolean leaf = !uidl.getTag().equals("node");
+ if (childTree != null && childUidl != null) {
+ boolean leaf = !childUidl.getTag().equals("node");
childTree.addStyleDependentName(leaf ? "leaf-last" : "last");
childTree.childNodeContainer.addStyleDependentName("last");
}