Wednesday, January 15, 2014

Accessing Custom Attribute Property from ADF UI Expression

You may not know, but it is possible to access custom property defined for the VO/EO attribute from ADF UI expression. This may turn useful, when implementing custom generic functionality and standard attributes are not enough. In this example, I'm using custom property - alternativeName, in real use case this will be something else. Here I will pass alternative name for the attribute through this property:

Custom property defined for the attribute, can be accessed from ADF UI Expression, by referencing properties map -

This is how property is accessed, later it can be displayed on UI - see label text for the CommissionPct attribute:

You can download sample application here -

No comments: