http://struts.apache.org/development/2.x/docs/validation.html#Validation-BundledValidators
On Mon, Mar 18, 2013 at 4:57 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > 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 <davelnew...@gmail.com> > wrote: > > > The regex validator? > > > > > > On Mon, Mar 18, 2013 at 4:44 PM, Muralidhar Yaragalla < > > java.yaraga...@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 < > lukaszlen...@apache.org > > > >wrote: > > > > > > > 2013/3/18 Muralidhar Yaragalla <java.yaraga...@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-unsubscr...@struts.apache.org > > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > > > > > > > > > > -- > > > Thanks And Regards, > > > *Muralidhar Yaragalla. > > > * > > > > > > > > > > > -- > > e: davelnew...@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. > * > -- e: davelnew...@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>