2 Replies Latest reply: Nov 10, 2012 2:55 PM by Sandeep Oracle RSS

    Problem with Setting CurrentRowKey in ADF Tree.

    Sandeep Oracle
      Hi All,

      I am trying to implement Drag and Drop functionality using below link.

      http://www.oracle.com/technetwork/developer-tools/adf/learnmore/101-drag-drop-table-tree-1661895.pdf.

      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();
      tree.setRowKey(dropSite);


      Even I tried to print currentTreeKey . Even this is printing null . Could you guys please help me !!

      Thanks