Skip to Main Content

Java Development Tools

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!

Current row is not setting????

Mani kantaOct 28 2016 — edited Nov 2 2016

Hi,

I am facing a issue with set a current row to the view object. Please give me suggestions.

My code is as below.

        PurchaseOrderAppModuleImpl poAppModule =

          (PurchaseOrderAppModuleImpl) BackingUtils.getApplicationModuleForDataControl("PurchaseOrderAppModuleDataControl");

        EditPurchaseOrderViewRowImpl editorderRow =

            EditPurchaseOrderViewRowImpl.getEditOrdercurrentRow();

        ViewObjectImpl orderView = poAppModule.getEditPurchaseOrderView1 () ;

            orderView.setCurrentRow(editorderRow);

        LOGGER.info("Current Order " + editorderRow.getAttribute("DocumentName") +                                            ---------------------->  Required row in the view object(I have set this row as a current row.)

                    "Before" + poAppModule.getEditPurchaseOrderView1().getCurrentRow().getAttribute("DocumentName"));    ---------------->  Giving first row as current row.

Regards,

Manikanta

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2016
Added on Oct 28 2016
4 comments
634 views