Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Property Set Use

980440Dec 18 2012 — edited Dec 20 2012
Hi,
I am learning ADF property set .According to the guide book, I wrote the following code :
AttributeDef fi = getDefinitionObject().getAttributeDef(FIRSTNAME);
String hello = (String)fi.getProperty("HELLOWORLD");
But in Debug i could not get the value , the value of "hello" is null;


And I set the property set in the attribute of the entity object.

TestPropertySet.xml:
<Properties>
<CustomProperties>
<Property
Name="Property"
ResId="HELLOWORLD"/>
</CustomProperties>
</Properties>

EmployeeEO :
<Attribute
Name="FirstName"
Precision="20"
ColumnName="FIRST_NAME"
SQLType="VARCHAR"
Type="java.lang.String"
ColumnType="VARCHAR2"
TableName="EMPLOYEES"
Domain="com.mm.demo.model.entities.TestPropertySet">

Jesse
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2013
Added on Dec 18 2012
4 comments
830 views