RegExprValidatorTag patch: message attribute
--------------------------------------------

         Key: MYFACES-801
         URL: http://issues.apache.org/jira/browse/MYFACES-801
     Project: MyFaces
        Type: Improvement
    Reporter: Joris Verschoor


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