myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-169) add message attribute to all validators
Date Thu, 02 Mar 2006 00:12:41 GMT
    [ http://issues.apache.org/jira/browse/TOMAHAWK-169?page=comments#action_12368398 ] 

Mike Kienenberger commented on TOMAHAWK-169:
--------------------------------------------

Removed all attachments.   Files were not in patch format.   Code in CompareToValidator is
probably a better basis in any case.

> add message attribute to all validators
> ---------------------------------------
>
>          Key: TOMAHAWK-169
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-169
>      Project: MyFaces Tomahawk
>         Type: Improvement
>     Reporter: Joris Verschoor
>     Assignee: Mike Kienenberger
>     Priority: Minor

>
> 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


Mime
View raw message