Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2.GA
-
Fix Version/s: 1.8.2.GA_P01
-
Component/s: Facelet Components
-
Labels:None
-
Environment:All
Description
With the dragAndDropTreeTable component it is not possible to drag a node to a leaf node. For example, on the composite component showcase, if a user removes all of the nodes from a parent node (drag target) the node becomes a leaf node. This doesn't allow for any nodes to be added back into the node.
Is there a mutator method for the leaf property of IceUserObject, so that the TreeTableNode can be set/initialised to be a non-leaf?
The TreeTableNode toglleRow method looks at the DefaultMutableTreeNode isLeaf() result, should this also be changed to look at the IceUserObject. isLeaf() result? (This way expanding.collapsing an empty node will toggle the +/-)
Thanks for looking at this.
Brian Leathem