Change the appearance or behavior of controls in Web Determinations
What do you want to do?
Change the appearance of all controls of a particular type
Change the appearance of a specific screen control
Implement a custom control
Change the appearance of all controls of a particular type
For information about changing the appearance of all controls of a particular type, refer to Change the appearance of a web interview control in the topic Configure the appearance of a Web Determinations interview.
Change the appearance of a specific screen control
There are two ways in which the appearance of a specific screen control can be change; they are as follows:
- Through Oracle Policy Modeling, using the Screen Authoring option, in which the author can customize how the input control of a selected attribute is displayed by using either or all of the following: IsHTML, CSS Style, CSS Class, Custom Properties.
- Find the template of the control (templates), and add logic via Velocity and session information so that if the current input control is for a certain attribute name (for example, child_name) then display a different HTML codeblock
See also:
IsHTML and Web Determinations Customization
Implement a custom control
Custom controls are defined by implementing the CustomControl interface. This is an empty marker interface that extends from the base Control interface and which defines a variety of methods that controls have to implement.
Additionally, there is a CustomInputControl interface to be implemented if your custom control is intended to collect user input data that maps to at least one rulebase attribute. Ensure that your implementation matches the following requirements:
- The class name you have chosen for your custom control implementation does not conflict with any of the native controls.
- You have provided a template to render your custom control named [custom control class name].vm
- You have implemented the getControlType() : String method to return the class name of your control.
See also:
Custom Screen and Custom Control Provider Plugins
Create a Custom Control
Custom Control - BenefitCode Walkthrough Example