--- Jerry Jalenak <[EMAIL PROTECTED]> wrote:
> +1 - Validator works.  I started using it waaaay back in the pre-RC1
> days.
> Everytime that Validator hasn't worked for me, I've found that it was
> due to
> a screw up on my part (usually something in the validation.xml file).
> Except for rare occasions, I haven't had to write a customized validate
> method.  When I do have to, I try to extend Validator so I can continue
> to
> use the tool.
> 
> +1 - Validator is not perfect.  While I haven't found any major bugs (at
> least ones that haven't already been reported), Validator does have its
> quirks - you have got to get the validation.xml file right or else it
> just
> flat won't work.  

Commons Validator never validated the XML files until a couple of days ago
when I committed a fix for that.  This caught a few missing attributes in
the test XML files and should help you debug some configuration problems.

David


> Also, since Validator relies on your
> ApplicationResources.properties file for its error messages, it may
> appear
> that Validator is not working, when in reality, it just can't find the
> message to return to the client.
> 
> +1,000,000 - There is only Us.  If not, then Micro$oft would be the only
> choice for doing web development, and I'd have to find another career
> :-)
> 
> Mark - I'll offer this again.  I'll be more than happy to look over your
> forms, struts-config.xml, validator-rules.xml, validation.xml, and
> properties files and see if I can figure out why you can't get Validator
> working.  Let me know.
> 
> Jerry Jalenak
> Team Lead, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS  66219
> (913) 577-1496
> 
> [EMAIL PROTECTED]
> 
> 
> > -----Original Message-----
> > From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, August 13, 2003 7:30 PM
> > To: Struts Users Mailing List
> > Subject: RE: Struts Validator
> > 
> > 
> > Let me state the blindingly obvious:
> > 
> >   1. Validator works. Other people seem to be able to use it.
> >   2. Validator is not perfect. Valid bug reports would help 
> > make it better.
> >   3. This is a community project. There is no Us and Them, 
> > only Us. And, for
> > better or worse, that includes you.
> > 
> > Since you've not posted any bug reports about validator I can 
> > only assume
> > that you are either (a) blowing hot air, or (b) incapable of 
> > describing the
> > bugs you say you've found. If you aren't capable of making a 
> > meaningful
> > contribution, please at least don't waste other people's time 
> > with your
> > nonsense.
> > 
> > I'm not going to spend any more time batting this back and 
> > forth with you.
> > If you are prepared to provide constructive criticism and/or 
> > help improve
> > Struts, you'll find many people willing to accept your help 
> > and to offer
> > theirs in return. If not, well it's pretty easy to filter you out.
> > 
> > Steve
> > 
> > > -----Original Message-----
> > > From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> > > Sent: August 13, 2003 3:17 PM
> > > To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> > > Subject: RE: Struts Validator
> > >
> > >
> > > Dave,
> > >
> > > My only complaint with the authors of validator is that (a) 
> > they say it's
> > > really cheeky, but (b) a host of developers, including me, 
> > have complaints
> > > about it.  It just doesn't work within the framework 
> > documented.  The List
> > > is full of complaints and requests along these lines.  You 
> > can ignore me,
> > > but just dip into the List archive and see.  I write my own 
> > validator
> > > methods because I couldn't get Validator to work within the Struts
> > > framework; looking at the archive, there are hundreds more that
> > > could not do
> > > the same.
> > >
> > > I am not looking for a war here.  All I ask is to get the 
> > damn thing right
> > > before offering it as a release to our community.
> > >
> > > Mark
> > >
> > > -----Original Message-----
> > > From: David Graham [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, August 13, 2003 5:45 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: Struts Validator
> > >
> > >
> > > --- Mark Galbreath <[EMAIL PROTECTED]> wrote:
> > > > Me put up?  You offered this to the OS community with insufficient
> > > > documentation.  Just look at the archive for this list 
> > and I'll wager
> > > > there are more questions/complaints about Validator than any other
> > > > aspect of the
> > > > Struts community.
> > > > Me shut up?  Why don't you guys PUT UP?
> > >
> > > We don't work for you.  Steve is right. If you don't have 
> > any constructive
> > > criticism or patches it's time to quiet down.
> > >
> > > David
> > >
> > > >
> > > > Mark
> > >
> > > > -----Original Message-----
> > > > From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, August 13, 2003 5:02 PM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Struts Validator
> > > >
> > > >
> > > > Time to put up or shut up, Mark. If there are specific 
> > bugs you have
> > > > encountered with Validator, please report them via 
> > Bugzilla so they
> > > > can be addressed. (Patches would also be nice).
> > > >
> > > > Failing that, why not write something yourself and donate 
> > it so we can
> > > > call your hard work crap?
> > > >
> > > > Otherwise, please give it a rest.
> > > >
> > > > Steve
> > > >
> > > > > -----Original Message-----
> > > > > From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> > > > > Sent: August 13, 2003 1:41 PM
> > > > > To: 'Struts Users Mailing List'
> > > > > Subject: RE: Struts Validator
> > > > >
> > > > >
> > > > > Validator is crap; don't waste your time.
> > > > >
> > > > > Mark
> > > > >
> > > > > -----Original Message-----
> > > > > From: Stephen Bennett [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, August 13, 2003 11:39 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Struts Validator
> > > > >
> > > > >
> > > > > Has anyone had any problems getting the Struts 
> > Validator to work?
> > > > >
> > > > > I have a small sample app that works OK but cannot get 
> > my main app
> > > > > to
> > > > > work! As far as I can see I have done everything the 
> > same as in the
> > > > > sample one.
> > > > >
> > > > > I have noticed that when the sample app that works 
> > starts up I get
> > > > > four messages from the ValidatorPlugin the first pair 
> > mentions the
> > > > > validation.xml and the validator-rules.xml then later it says
> > > > > ValidatorPlugin initResources
> > > > > then the previous xml messages.
> > > > >
> > > > > With the real app that doesn't work I don't get these second
> > > > > initResources messages. I am not sure if this is 
> > significant or not,
> > > > > does anyone have any ideas?
> > > > >
> > > > > I have: -
> > > > >
> > > > >   <plug-in 
> > className="org.apache.struts.validator.ValidatorPlugIn">
> > > > >     <set-property
> > > > >       property="pathnames"
> > > > >       
> > value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> > > > >   </plug-in>
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to