[ 
http://issues.apache.org/jira/browse/MYFACES-801?page=comments#action_12357266 
] 

Martin Marinschek commented on MYFACES-801:
-------------------------------------------

This is not the same way as with our other validators, right?

If we add this, we should also add this for all other validators.

regards,

Martin

> RegExprValidatorTag patch: message attribute
> --------------------------------------------
>
>          Key: MYFACES-801
>          URL: http://issues.apache.org/jira/browse/MYFACES-801
>      Project: MyFaces
>         Type: Improvement
>     Reporter: Joris Verschoor
>  Attachments: RegExprValidator.java, ValidateRegExprTag.class, 
> ValidateRegExprTag.java
>
> Added a message attribute to the rexexvalidator. If the attribute is set, 
> that will be used as the errormessage. For example:
>       <h:inputText id="name" value="#{bean.name}" required="true">
>             <t:validateRegExpr message="#{errors['NameNoNumbers']}" 
> pattern="\D*" />
>     </h:inputText>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to