This discussion is archived
2 Replies Latest reply: Nov 10, 2012 12:55 PM by Sandeep Oracle RSS

Problem with Setting CurrentRowKey in ADF Tree.

Sandeep Oracle Explorer
Currently Being Moderated
Hi All,

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 !!



  • Correct Answers - 10 points
  • Helpful Answers - 5 points