Hi guys,        
        Problem solved....
I am using WSAD for developing app, and I have copied the validator xml
files from some struts download..  and it was not working

Then I found an article on the web on using validator in WSAD, I
replaced
The xml files content with what the article was saying and now it is
working..

Main difference is that I have removed the DOCTYPE declaration...
Boh....it's a mistery.....

Thanx anyway to everyone that has replied

Regards
        marco

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2004 17:37
To: 'Struts Users Mailing List'; 'Skip Hollowell'
Subject: RE: Problem with struts validator

HI,
        Yes, also the html:error tag is there.....

Regards
        marco

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

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

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
big
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>
</html:messages>


Skip Hollowell




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to