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 Type, as shown in the following screenshot: