struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Mistroni" <>
Subject RE: Problem with struts validator
Date Wed, 07 Apr 2004 16:36:37 GMT
	Yes, also the html:error tag is there.....


-----Original Message-----
From: news [] On Behalf Of Skip Hollowell
Sent: 07 April 2004 17:29
Subject: Re: Problem with struts validator

"Saul Q Yuan" <> wrote in message
> One thing I noticed is you're missing the argument for the required
> message, ie.
> <arg0 key="......" resource="true/false" /> in your validation.xml

And as per my earlier post with this same problem, do you have the
<html:errors/> tag in your jsp to actually show the errors.  That was
what I
was missing when I thought I had everything setup properly.

<!-- The standard way of showing errors, shows them all at one in a one
list -->
<html:errors />

<!-- Alternate way of showing errors, make sure the message flag is
false to
signify ERRORS -->
<html:messages id="msg" header="msg_header" footer="msg_footer"
message="false" >
  <li><bean:write name="msg"/></li>

Skip Hollowell

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message