Thursday, January 20, 2011

InvalidOperException : JBO-25221

Requirement: AUTO-COLLAPSE OF REGIONAL AREA WHEN IN THE INSIDE FORECAST AREA (which is the main area). In my case, the Regional area and main area taskflows belong to different projects.

Implementation: This requires methodAction bindings to be added in the page definition files where the collapse and disclose needs to be implemented. Also, a separate RegionController bean which will have the method call.

Exception : At run time, I faced an exception which looked something like this :-
JBO-25221: Method FndUIShellController.dataProvider.collapseRegionalArea() not supported
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2

Solution:
The issue got resolved after I added the following to the dataBindings.cpx file :-
<dc id="FndUIShellController"
path="oracle.apps.fnd.applcore.uicomponents.view.FndUIShellController"/>

8 comments:

sistemasisrael said...

In which part of the databinding.cpx I have to add it?,
I am using Oracle ADF 11g, Jdeveloper 11g,
Thanks in advance.

Kavita said...

Hi,

This has to be added inside the tag

Kavita said...

Do let me know if you need any more information.

Ricky said...

which tag? i've put inside Application tag, but it said element dc not expected

Kavita said...
This comment has been removed by the author.
Kavita said...
This comment has been removed by the author.
Kavita said...

Hi Ricky,

The FndUIShellController tag needs to be added inside the datacontrolUsages tag.
Hope this helps. Do let me know if you need any more details.

Thanks,
Kavita.

Есөн-Эрдэнэ said...

I don't think FndUIShellController tag can help for this. You have to check pageDef file. Check your methodAction, NamedData. And also if you changed signature of your method on impl, and client interface, you have to refresh your binding (pageDef). I also faced problem like this and i remove method action from my pageDef and set again.