You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2006/03/02 02:09:43 UTC

[jira] Updated: (TOMAHAWK-169) add message attribute to all validators

     [ http://issues.apache.org/jira/browse/TOMAHAWK-169?page=all ]

Mike Kienenberger updated TOMAHAWK-169:
---------------------------------------


> add message attribute to all validators
> ---------------------------------------
>
>          Key: TOMAHAWK-169
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-169
>      Project: MyFaces Tomahawk
>         Type: Improvement
>   Components: Validators
>     Reporter: Joris Verschoor
>     Assignee: Mike Kienenberger
>     Priority: Minor
>  Attachments: RegExprValidator.java.patch.txt, ValidateRegExprTag.java.patch.txt, tomahawk_validate_regexpr_attributes.xml.patch.txt, validateRegExpr.xml.patch.txt
>
> Added a message attribute to the rexexvalidator [and all other validators -mlk]. If the message attribute is set, the message attribute value will be used as the error message key instead. 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