Hi, 1 - When you wrote "select box", did you mean drop-down list ? Because drop-down list are not exactly input fields. The user can't write something he wants. Could you please give examples ? 2 - Why don't you use "<validator type="requiredstring">" like in "EditAction-validation.xml" ? 3 - If you want tu use an input field with regex, what sort of value are you waiting for ? Could you give please some literal samples ? Regards, Chris
Le Samedi 27 décembre 2014 15h18, Dave Newton <davelnew...@gmail.com> a écrit : Did you try defining a complete regex, e.g., with the start/end markers, `^` and `$`, at the beginning/end of the regex? On Sat, Dec 27, 2014 at 8:10 AM, Yaragalla Muralidhar <yaragallamur...@gmail.com> wrote: > Hi Dave, > when "-1" is getting submited it has to display error msg which is > not getting displayed. successfully moving to the next page. It is not > moving to the input page even. > Now i have changed the validator to int so everything is working fine. > but i need regex validator to work even for further validations. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > > On Sat, Dec 27, 2014 at 7:33 PM, Dave Newton <davelnew...@gmail.com> wrote: > >> On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar >> <yaragallamur...@gmail.com> wrote: >> >> > validator in the following way but it is not working. Please help. >> >> Define "not working". >> >> -- >> e: davelnew...@gmail.com >> m: 908-380-8699 >> s: davelnewton_skype >> t: @dave_newton >> b: Bucky Bits >> g: davelnewton >> so: Dave Newton >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton b: Bucky Bits g: davelnewton so: Dave Newton --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org