John, thats obviously what I did... The thing is even you only select a property for your error message, you get the <h3>error</h3>...<hr/> message (due to Struts Validator). It of course doesn't happen if you only use your own validate() methods without calling Struts Validator...
Vince -----Original Message----- From: John Nicholas [mailto:jakarta@;mobosplash.com] Sent: Thursday, October 24, 2002 8:49 PM To: Struts Users Mailing List Subject: Re: Validator later rather than sooner? Vincent PROSPER wrote: > > Another thing I dont like in Struts Validator is that <html:errors/> > translation comes preformatted (error title is not i18N compliant, > encapsulated in <h3>..</h3> and with an ugly <hr/>): you loose the ability > of putting a well displayed error beside each field of your form (this is > not the case if you use Javascript Validator facility). > You can use <html:error property="propertyname" /> to output only the error for that property and put that next to the form elements. Just make the the errors.prefix, errors.suffix, etc blank or have more appropriate formatting info. John -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>