struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muralidhar Yaragalla <java.yaraga...@gmail.com>
Subject Re: does struts 2.3 support mask validator?
Date Mon, 18 Mar 2013 20:44:42 GMT
The following is the example for mask validator in struts 1

<field property="phoneNumber" depends="required,mask">
<msg name="mask" key="userForm.phoneNumber.mask" />
<arg key="userForm.phoneNumber"/>
<var>
<var-name>mask</var-name>
<var-value>^[0-9]*$</var-value>
</var>
</field>

Is there any equivalent validator in struts 2.3 where i can use regular
expressions?


On Tue, Mar 19, 2013 at 2:07 AM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2013/3/18 Muralidhar Yaragalla <java.yaragalla@gmail.com>:
> > hi I have been searching on net for mask validator examples but could not
> > found any for 2.3.
>
> Mask validator? What you mean by that?
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message