Please open a jira ticket with as much information as possible. thanks musachy
On Fri, Feb 20, 2009 at 12:33 PM, billgloff <bgl...@citytechinc.com> wrote: > > I have the same exact problem now after upgrading to 2.1. > > I have the following model-driven validation defined (which works fine in > 2.0): > > @VisitorFieldValidator(message="") > > Now I get the same exception as above when validation fails. > > If I add in any kind of text into the message param, it works but looks ugly > since it spits out that message along with the field message. So I get > something like this underneath my textfield > > "My default messageLast Name cannot be blank or contain invalid characters" > > Any ideas about what is going on here? > > Thanks. > > > > sheltonn wrote: >> >> It is null. Can you point me in the direction of what I am missing? >> >> >> Norris Shelton >> Software Engineer >> Sun Certified Java 1.1 Programmer >> Shelton Consulting, LLC >> ICQ# 26487421 >> AIM NorrisEShelton >> YIM norrisshelton >> >> >> >> >> ________________________________ >> From: Musachy Barroso <musa...@gmail.com> >> To: Struts Users Mailing List <user@struts.apache.org> >> Sent: Thursday, February 19, 2009 3:45:35 PM >> Subject: Re: Struts 2.1 validation with annotations >> >> It seems like the default message for that validator is null. Try >> adding a break point to ValidatorSupport:getMessage and see if the >> defaultMessage is null. >> >> musachy >> >> On Thu, Feb 19, 2009 at 3:31 PM, Norris Shelton <norrisshel...@yahoo.com> >> wrote: >>> validateObject >> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/Struts-2.1-validation-with-annotations-tp22109064p22124783.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org