First page Back Continue Last page Graphics
Creating the Basics
Configure view objects to support the lists. You can:
- Use existing view objects (VO) by creating different view criteria to support different lists
- Use entity-based VOs for data that may change when you want the list to reflect the changed data (such as adding a new department)
- Use non-entity-based VOs for static data
- Use bind variables to restrict the second list to the value specified in the first
- Add view accessors in the main (Emp) EO, to VO that are used for the lists
- Attach each list to a specific attribute to be populated
Notes:
Creating the Basics
There are only a few things that you need to do to configure dependent lists. You can reuse view objects by creating multiple view criteria to support different lists.
The second dependent list needs some additional modification to use the selected value from the first as the filter for the second. The filtering is accomplished by assigning a value to the bind variable in the view criteria.