When working with ADF Business Component, a common requirement is to implement a dependent list of values based on the current row of a View Object. For example, you are implementing a simple application that will update / change the manager of a department within your organization. As business requirement, the future manager can only be an employee that belongs to the department itself so your list of value should show only employees for that department.
First of all, we need to create a list of values for our ManagerId field;
We add our ViewAccessor to bring the employees.
Now we select the attributes and what we want to show in the UI
Now, if we run our application module to test
We can see that we are listing all the employees, even though the department just have one employee assigned to it. This is because we are not filtering our view accessor by departments. To do this, we need to create a view criteria in the Employees View Object and use it in our view accessor.