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!

oracle.jbo.InvalidOperException: JBO-25221: Method not supported

AmittJun 9 2014 — edited Jun 9 2014

Jdev 11.1.1.6

Trying to implement the undo row as demonstrated by Andrejus(http://andrejusb.blogspot.in/2012/05/refreshing-single-row-without-full.html)

I have a view object, in the viewobjectImpl, i declare the method and create the necessary client interface for the same

    public void refreshCurrentRow(Row row) {

        if (row != null) {

            row.refresh(Row.REFRESH_UNDO_CHANGES | Row.REFRESH_WITH_DB_FORGET_CHANGES);

        }

    }

I define the operation binding in the page def and while trying to access through managed bean using:

        DCBindingContainer bindings = (DCBindingContainer)getBindings();

        DCIteratorBinding dcIter = bindings.findIteratorBinding("RoleVO1Iterator");

        Row row = dcIter.getCurrentRow();

        OperationBinding ob = bindings.getOperationBinding("refreshCurrentRow");

        ob.getParamsMap().put("row", row);

        ob.execute();

, it gives me exception as

<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Method null.refreshCurrentRow() not supported

oracle.jbo.InvalidOperException: JBO-25221: Method null.refreshCurrentRow() not supported

  at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:665)

  at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)

  at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)

  at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)

...

...

Please suggest what is wrong in here?

why is the data control null here (null.refreshCurrentRow() )

:

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2014
Added on Jun 9 2014
4 comments
3,876 views