Maurizio Cucchiara wrote: > > At first glance everything would seems correctly configured (except > for that unnecessary RequiredFieldValidator). > Did you try it in a more recent version (like 2.2.1)? >
Hi Maurizo, I've upgraded to 2.2.1 and the behaviour has changed slightly, but still doesn't tie in with my expectations or yours (if I've understood your explanation). Firstly specifying the fieldName="My Field Name" still makes no difference whether I include or exclude it. Secondly, specifying appendPrefix="false" with or without message="My Message" still produces no error messages at all in both cases. Where the difference occurs is now @VisitorFieldValidator(fieldName = "YOUR FIELD NAME", appendPrefix = true, message = "") now outputs <Message generated by error condition> instead of <null><Message generated by error condition> Regards -- View this message in context: http://old.nabble.com/%40VisitorFieldValidator-message-formatting-question.-tp30405050p30426854.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