Customize Oracle Web Determinations

The styling of Oracle Web Determinations can be customized to suit your needs. Some simple changes can be done by modifying the messages.<locale>.properties file and the appearance.properties file. The default location for these files in a rulebase project is: \Release\web-­determinations\WEB-­INF\classes\configuration.

For information on more advanced customizations of Web Determinations, see the Oracle Policy Automation Developer Help.

What do you want to do?

Change the Oracle Web Determinations banner

Configure the Oracle Web Determinations labels

Change the Oracle Web Determinations banner

The Web Determinations banner is made up of an Oracle graphic (oralogo_small.gif) and the text "Web Determinations":

 

 

This banner can be modified to use a different logo and name.

Change the image in the Oracle Web Determinations banner

To replace the Oracle graphic:

  1. Save the new graphic as oralogo_small.gif in \Release\web-­determinations\WEB-­INF\classes\images.
  2. Build and run the rulebase to view the new image in the Web Determinations banner.

 

TIP: To hide the banner image completely, modify the 'show header image' setting in the appearance.properties file as follows:

show-header-image = false

Change the text in the Oracle Web Determinations banner

The "Web Determinations" banner text is defined in the 'application-name' setting in the messages.<locale>.properties file:

To change the text in the banner:

  1. Open the messages.<locale>.properties file using Notepad.
  2. Edit the 'application-name' configuration line, eg
    application-name = Income Assistance

  3. Save the file.
  4. Build and run the rulebase to view the new text in the Web Determinations banner.

TIP: To remove the banner text completely (eg if your image/logo contains the necessary text), modify the 'show application name' setting in the appearance.properties file as follows:

show-application-name = false

Configure the Oracle Web Determinations labels

The label text of all links and buttons (eg Save As, Load, Restart, Close, Yes, No, Submit, Add Instance, [Why?]) in Oracle Web Determinations can be modified in the messages.<locale>.properties file. For example:

 

 

Here the out-of-the-box label text for the boolean answers "Yes" and "No", has been replaced with "True" and "False" respectively.

To change the text of a label:

  1. Open the messages.<locale>.properties file using Notepad.
  2. Edit the appropriate configuration line for the text, eg
    boolean-true = True
    boolean-false = False

  3. Save the file.
  4. Build and run the rulebase to view the new label text in Web Determinations.