I am trying to implement Drag and Drop functionality using below link.
The problem is as soon as I set the treekey using tree.setRowKey(dropSite);.. below error comes through
<UIXCollection> <processSaveState> row key might not be reset correctly at the end of the request. Component ID: :t2 ViewId:
Below is the code which I am using
RichTree tree = (RichTree)dropEvent.getDropComponent();
Object dropSite = dropEvent.getDropSite();
Object currentTreeKey = tree.getRowKey();
System.out.println("The value of currentTreeKey is "+currentTreeKey);
CollectionModel model = (CollectionModel)tree.getValue();
Even I tried to print currentTreeKey . Even this is printing null . Could you guys please help me !!