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:57:59 GMT
I don't see regex validator in validators.xml so do we have to get it from
somewhere?


On Tue, Mar 19, 2013 at 2:17 AM, Dave Newton <davelnewton@gmail.com> wrote:

> The regex validator?
>
>
> On Mon, Mar 18, 2013 at 4:44 PM, Muralidhar Yaragalla <
> java.yaragalla@gmail.com> wrote:
>
> > 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.
> > *
> >
>
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>



-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*

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