Showing posts with label ADF UI. Show all posts
Showing posts with label ADF UI. Show all posts

Monday, December 29, 2014

ADF UI Label Property Settings

ADF UI Label Property Settings


Every Web developer who is working at an ADF UI level would faced this dilemma,question of whether to set UI-oriented property values on the Model (entity object or view object definition) level or the UI View (component) level.This is the most common question faced often when developing
with these frameworks.

A useful rule-of-thumb which i have followed and was suggested as best practice during my development cycle is given below:
i) Property values that are likely to serve most purposes should be defined on the entity object definition level. 

ii) By the above way, all view object definitions and UI components based on that entity object definition will inherit the properties. 

iii) You can then specialize (override) those properties, if needed, in the view object
definition level. The view object definition can serve many UI components, so a single view
object definition setting can affect many places in the UI. 

iv) The last place to override these properties is on the UI component level.

Hope this rule of thumb helps you while developing your ADF application :-)