Customizing the Business Components Client UI

You can set control hint properties on the attributes of Oracle ADF Business Component entity objects and view objects to customize how the UI displays the value.

To create global control hints:

  1. Create a project for your Business Components.

    In order to define global control hints for your Business Components client application, you must first create a project with entity objects.

  2. In the Application Navigator, expand the Business Components project and select the entity object that defines the attributes for which you want to set control hints.

  3. If the Structure window is not yet visible, choose View | Structure Window to view the list of attributes for the entity object.

  4. In the Structure window, expand the Attributes folder and right-click the desired attribute and choose Edit attributeName.

  5. In the Create Entity Attribute wizard, select Control Hints to view the list of control hint properties for the current attribute.

    For detailed help in using the wizard, press F1 or click Help from within the wizard.

  6. Click OK to save the changes. JDeveloper adds a MsgBundle.java file to the entity object node of the Business Components project.

To create view-specific control hints:

  1. Create a project for your Business Components.

    In order to define view-specific control hints for your Business Components client application, you must first create a project with Business Components entity objects.

  2. In the Application Navigator, expand the Business Components project and select the view object that specifies the attributes for which you want to set control hints.

  3. If the Structure window is not yet visible, choose View | Structure Window to view the list of attributes for the view object.

  4. In the Structure window, expand the Attributes folder and right-click the desired attribute and choose Edit attributeName.

  5. In the Create View Attribute wizard, select Control Hints to view the list of control hint properties for the current attribute.

  6. For detailed help in using the wizard, press F1 or click Help from within the wizard.

  7. Click OK to save the changes. JDeveloper adds a MsgBundle.java file to the view object node of the Business Components project.

  8. To view the MsgBundle.java file, with the view object node selected in the Application Navigator, expand the Sources folder in the Structure window. Or, right-click the view object node in the Application Navigator, and choose Go to Message Bundle Class.

You can localize the generated MsgBundle.java file to reuse the same control hints in different languages.


About Control Hints for Business Components Clients
Localizing Business Components Client Control Hints
Defining a Formatter and Format Masks for Business Components Clients

 

Copyright © 1997, 2004, Oracle. All rights reserved.