Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.0.18
-
None
Description
Try adding this field to your form:
@Validate("regexp=^([a-zA-Z0-9]
{2,4})+$")
private String somefield;
Page will fail to render with exception saying:
Render queue error in BeginRender[mypage.somefield]: Failure reading parameter 'validate' of component mypage.somefield: Coercion of ^([a-zA-Z0-9]{2 to type java.util.regex.Pattern (via String --> java.util.regex.Pattern) failed: Unclosed counted closure near index 15 ^([a-zA-Z0-9]{2 ^
Attachments
Issue Links
- is duplicated by
-
TAP5-2341 Can't specify a regexp validator with a comma
- Closed