Monday 7 October 2013

ADF CheatSheet: VO Attribute value

ADF CheatSheet: VO Attribute value

One thing I also do alot for auditing is setting Attributes to who created it or when it was created for those.

To see who edited something, or to set a value to an Attribute that is stored in a Session Variable you can use the code below in order to set the default value to that attribute.

For Date
For Date and Time
Just one thing, make sure you set the sessionScope variable to the same Object type as the Attribute.

No comments:

Post a Comment