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:
- Selecting the first row in the Master Tree Table and the child Tree table is showing the correct data

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

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