Hi,
I have a
read-only view object which is based on an SQL query. I have a transient attribute defined called 'Action'. I want to default it's value to the value 'Add' and then be able to manipulate it as required.
I have tried setting the default value in the VO definition and also added a view row implementation class and overidden the create method to set the default value.
None of the above have worked. The attribute is always null in the ADF read-only table and also null if I use row.getAttribute("Action");
Is there something else I need to set?
this is from the XML defintion of the VO:
<ViewAttribute
Name="Action"
IsSelected="false"
IsPersistent="false"
DefaultValue="Add"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="VIEW_ATTR"
SQLType="VARCHAR" >
</ViewAttribute>
regards,
Brenden