Simplese way to design a master-detail table using ADF,
1. Create the master and detail entity objects. Create the appropriate association objects and view links.
2. Using the master view object in data control, create the master table.
3. Using the detail view object(present in view link) and create a child table
4. In the master table, add a column with ADF operation: setCurrentRowWithKey
that's it... now run the page, clicking on the select link in master will automatically refresh the child table(vo gets refreshed automatically by viewlink).
Subscribe to:
Post Comments (Atom)
1 comment:
In case the view layer is using UIX page, this requirement can even be simplified by dragging the child view object in view link with the option of Master to Detail(many to many). This will automatically take care of synchronization between master and details during navigation.
Post a Comment