Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Niall Pemberton
y, July 15, 2004 3:14 PM Subject: Re: validation wierdness possibly related to multiple struts config files > h ... if i put that in mine I get a file not found exception the > commons-validator jar doesn't include that one. > with this definition it seems

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
iginal Message - From: "Bryan Hunt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 15, 2004 2:20 PM Subject: Re: validation wierdness possibly related to multiple struts config files finally solved it. When you hav

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Niall Pemberton
-- From: "Bryan Hunt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 15, 2004 2:20 PM Subject: Re: validation wierdness possibly related to multiple struts config files > finally solved it. > > When you have th

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bill Siggelkow
I am using this DTD declaration in my validation.xml and validator-rules.xml files: "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> It lets me access the new element. Bill Bryan

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
finally solved it. When you have the following DTD definition in your validation.xml file snip= http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";> =snip It breaks. When you have the following DTD definition in your validation.xml file * *snip= http://jakarta.apache.org/commons/dtds/valid

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
Ok , dunno who to report this to but this validator stuff needs to be looked at before this is released to the public cause it's a bit of a mess. Just noticed that the version of validator-rules that is distributed is for the validator_1_1.dtd version. I think somebody needs to take a little lo

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
Thank you Bill, your answer was correct. I've found that commons-validator as distibuted with the latest 1.2.1 version of struts doesn't include the http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd file. So despite my specifying the DTD like so snip= "-//Apache Software Found

Re: Re: validation wierdness possibly related to multiple struts config files

2004-07-14 Thread bryan
I am using a nightly build from about 1 week ago. I never updated my dtd for validator though. Im going to do that and check out your suggestion. Never occured to me that it mightnt be backwards compatatable. --b On Tue, 13 Jul 2004 15:52:41 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Are

Re: validation wierdness possibly related to multiple struts config files

2004-07-13 Thread Bill Siggelkow
Are you using Struts 1.2 or the nightly build? I had this issue the other day and I think I got around it by using the new element instead of -- simply change arg0 to arg in your validation.xml. Or you can try using the new position attribute: Bill Siggelkow Bryan Hunt wrote: I have the foll

validation wierdness possibly related to multiple struts config files

2004-07-13 Thread Bryan Hunt
I have the following jsp page snip= : etc etc etc =snip I have 4 struts config files default.xml,client.xml,admin.xml,sales.xml They are declared as so in my web.xml file. snip= config /WEB-INF/str