Overriding UI hints in a view object

The ADF framework allows you to override UI hints defined in a view object at runtime. This is done by overriding createViewRowAttrHints(AttributeDefImpl attrDef) in oracle.jbo.server.ViewRowImpl for the view object. The framework engages this method to retrieve control hints when a row is rendered on the UI.

There are two steps to supply custom row attribute hints for a view object:


  1. Create a custom view row attribute hints implementation class extended from oracle.jbo.server.ViewRowAttrHintsImpl. This class will have the logic to return custom attribute hints.
  2. Generate a view row class, and override createViewRowAttrHints(AttributeDefImpl attrDef) in the class to return customized row attribute hints implementation. ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.