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!

Problem showing data in child tree table using execute with params

3021963Aug 28 2015 — edited Sep 1 2015

Hi All,

When I select the first row in the Master tree table, I called a method in the ViewScope Bean to set the required filter criteria and to get the operation binding for executewithparams for execution.

The code is as below.

| | this.setUserId((String)row.getAttribute("UserId")); |
| | this.setJobNo((String)row.getAttribute("JobNo")); |
| | this.setSimId((String)row.getAttribute("SimId")); |
| | this.setDsName((String)row.getAttribute("DsName")); |
| | |
| | System.out.println("The UserId is " + (String)row.getAttribute("UserId")); |
| | System.out.println("The JobNo is " + (String)row.getAttribute("JobNo")); |
| | System.out.println("The SimId is " + (String)row.getAttribute("SimId")); |
| | System.out.println("The DsName is " + (String)row.getAttribute("DsName")); |
| | |
| |

OperationBinding operationBinding = bindings.getOperationBinding("ExecuteWithParams1");

|
| |

Object result = operationBinding.execute();

|

It manages to filter properly and the result is shown in the child Tree Table. But whenever I select other rows (not the first row) in the Master Tree Table, the filtering is not working and the child Tree Table is showing "No data to display". There is no issue with setting the required filter criteria, as I managed to see the print lines reflecting the correct row selection in the Master Tree Table.

Some screen shot below:

  1. Selecting the first row in the Master Tree Table and the child Tree table is showing the correct data

pastedImage_3.png

  1. Once I select row other than the first row, the filtering is not working

pastedImage_4.png

Can someone please help me? I am stuck on this issue for some days already.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2015
Added on Aug 28 2015
2 comments
561 views