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.
Revision #22133 - Removed statement setting IceUserObject to leaf when it has no children. More importantly, isLeaf() call from the page is now returning the IceUserObject isLeaf() result rather than the DefaultMutableTreeNode isLeaf() call, which always checks the number of children when determining the result.