About Using Converters and Validators with CAF Controls
With converters, you can format objects for presentation to the user for reading and modification, or represent objects for persistence in an application. You can apply converters to CAF input and output controls.
With validators, you can ensure that users specify correct values when using input controls.
A control can have only one converter but multiple validators. When you select a control on the design canvas in
Software AG Designer that has at least one converter or validator, a push pin
is displayed at the upper right corner of the control.
The
CAF Core node of the Palette view contains the standard JavaServer Faces (JSF) converters and validators, and the converters and validators included in
Composite Application Framework. However, the
CAF Core > Converter and
CAF Core > Validator nodes are not displayed by default. For instructions about how to display converters and validators in the Palette view, see
Displaying Converters and Validators. For more information about the available converters and validators, see
webMethods CAF Tag Library Reference.
In addition to using the converters and validators available in the Palette view, you can create and apply custom converters and validators.
Related Topics