The f:validateRegex Facelet tag exposes the functionality of a RegexValidator inside Facelet views.

General Usage

The pattern attribute can be used to specify a regular expression validation pattern for an input value.


Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20