myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joris Verschoor (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-801) RegExprValidatorTag patch: message attribute
Date Wed, 09 Nov 2005 12:19:21 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-801?page=all ]

Joris Verschoor updated MYFACES-801:
------------------------------------

    Attachment: RegExprValidator.java

Sorry, no patch, just modified sourcecode.
Added message attribute.



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


Mime
View raw message