-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
Now we are
going to add EmpVOToDeptVOLink to the application module to display the master-detail relationship between the EmpVO and DeptVO objects. Adding the view link to the application module will help in retrieving the employees within a particular department.
The following steps show how to add a view link to the application module:
Double-click on the EmpDirectoryModule.xml file from com.empdirectory.model.am.
Open the Data Model section to select the view object instances.
Select the view link accessor for the DeptVO in the Available View Objects: section. In the Data Model section, select DeptVO1 (which is the view object instance name in EmpDirectoryModule).
Shuttle the view object to the Data Model section. Now the EmoVO2 object will be added as a child to DeptVO1. This represents the view link association between DeptVO and EmpVO.
The instance name for the view link is EmpVO3, in my case.
Save the EmpDirectoryModule.xml...
Change the font size
Change margin width
Change background colour