According with documentation appendPrefix "Determines whether the field name of this field validator should be prepended to the field name of the visited field to determine the full field name when an error occurs" this link should be useful http://struts.apache.org/2.0.14/docs/using-visitor-field-validator.html
Maurizio Cucchiara Il giorno 08/dic/2010 13.49, "RogerV" <roger.var...@googlemail.com> ha scritto: > > I'm trying to use the VistorFieldValidator via annotation. The validator is > being called ok, but using @VisitorFieldValidator() all the error messages > are prefixed with the word "null". If I use > @VisitorFieldValidator(appendPrefix=false) then I don't get any error > messages at all. > > Why am I getting "null" prepended to the message string and how do I stop > it? > > Regards > -- > View this message in context: http://old.nabble.com/%40VisitorFieldValidator-message-formatting-question.-tp30405050p30405050.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 >