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!

Executing an ADF operation binding programmatically query master dos not populate details

NinaMay 14 2015 — edited May 21 2015

Hello,

We work with jdev 11.1.2.4.

We have a "master" view with few view links.

When I execute query on the master view I get only the master and don’t get the "details" rows. I call to the "executeWithParams" from the manage bean.

We use that way because we are inside a taskflow, and this was a solution we found. (see link http://matteoformica.blogspot.co.il/2014/02/executing-operation-binding.html)

When I call it first time, it works and populates all the records of the view links, but second time (for example after returning to the page from previous and calling the query again, I get only the records of the master view)

This is the sysntax I use:

           JUFormBinding fb =

            (JUFormBinding)JSFUtils.resolveExpression("#{data.com_malam_payroll4Web_viewController_CandidatesInTakeFormPageDef}");

           OperationBinding opb = fb.getOperationBinding("ExecuteWithParams90001");

           opb.getParamsMap().put("officeNumBV", officeNum);

           opb.getParamsMap().put("idNumBV", idNum);

           opb.getParamsMap().put("positionNumBV", positionNum); 

           Object result = opb.execute();

Can anybody help?

This post has been answered by jflack on May 21 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2015
Added on May 14 2015
5 comments
705 views