Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Migration of ADF table selection code to Trinidad code problem with RowKeySet

2610837Feb 12 2014

we found a conversion problem as described below in one of the java files related to Manual UI.

    public void setPsdTable(CoreTable psdTable) {

        this.psdTable = psdTable;

        if (globalBean.isResetCreateRequestPsdQuarters()){

   ADF -code         this.psdTable.setSelectionState(new RowKeySet());

   Trinidad code     this.psdTable.setSelectedRowKeys(new RowKeySet());

            globalBean.setResetCreateRequestPsdQuarters(false);

        }

    }

In Trinidad RowKeySet is abstract class whereas in ADF the same is normal class. Hence I found the below error message.

  • Error(364,45): org.apache.myfaces.trinidad.model.RowKeySet is abstract; cannot be instantiated

Please guide me if you have an idea on how to change the adf statement to Trinidad code statement “this.psdTable.setSelectionState(new RowKeySet());

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 12 2014
Added on Feb 12 2014
0 comments
727 views