Time for action – creating a list of values of a department
Carry out the following steps to create a list of values:
- Add a view accessor mapping to the
DeptVO.xml
file, in theEmpEO.xml
file. - Go to the
EmpVO.xml
file and then select theDeptno
attribute. - Select the List of Values: section to add a new list of values, as shown in the following screenshot:
- Select
EmpEO.DeptVO1
as List Data Source andDeptno
as List Attribute to map theDeptno
attribute ofDeptVO
to theEmpVO
attribute. - Go to the UI Hints tab and move the
Dname
attribute from the Available: section to the Selected: list. - Select Combo Box with List of Values as the value for Default List ...
Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.