Define a custom pattern for an input field.
To define a custom pattern for an input field:
- Drag and drop an input field component onto a Web page in Page
Designer.
- Set the Format. Set the Type to Custom.
Click the Build Pattern button. The Pattern Builder
dialog opens.
- Follow the instructions in the dialog.
- Use the Basics tab to specify a pattern that will
apply to one control.
- Use the Advanced tab to specify a pattern that
can be saved and applied to other controls.
To save a pattern:
- In the Pattern field, type in a custom pattern, select a pattern
from the drop down menu, or use a pattern from the drop down menu as a starting
point for a custom pattern.
- Click Save & Apply, then provide a name for the pattern when
prompted. The pattern is saved in the faces configuration file (faces-config.xml).
- To use a saved pattern, select the pattern from the list and click OK.