ADF Property Set Use
980440Dec 18 2012 — edited Dec 20 2012Hi,
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