Specifying a Bean Definition for Accessors that Return a Collection
If your business service has an attribute or method that has a
Collection as it's type, you must specify the class type in the data
control so that the required metadata is generated for the design time
(Data Control Palette) and runtime. You specify this information in the
metadata (XML) file for the bean via the Property Inspector.
To specify the class type for a Collection type:
-
In the Navigator, select the bean's metadata file (
<beanclassname>.xml).
-
In the Structure window, select the field or method that contains the
Collection type.
-
Open the Property Inspector by clicking the V
iew menu and choosing Property Inspector
.
-
Select the Bean Class field and click the
ellipses (...) in the empty field to the
right.
The Bean Class dialog opens.
-
In the Bean Class dialog, click Browse.
The Class Browser opens.
-
In the Class Browser, locate the appropriate bean class and then click
OK.
Related topics
About Oracle ADF Data Controls
Creating Oracle ADF Data Controls for EJB Components
Copyright © 1997, 2004, Oracle.
All rights reserved.