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:
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.
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.
If the Structure window is not yet visible, choose View | Structure Window to view the list of attributes for the entity object.
In the Structure window, expand the Attributes folder and right-click the desired attribute and choose Edit attributeName.
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.
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:
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.
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.
If the Structure window is not yet visible, choose View | Structure Window to view the list of attributes for the view object.
In the Structure window, expand the Attributes folder and right-click the desired attribute and choose Edit attributeName.
In the Create View 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.
Click OK to save the changes. JDeveloper
adds a MsgBundle.java
file to the view object node of
the Business Components project.
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.