Fwd: Re: Validating DynaBeans and a Jakarta Parable

2002-07-12 Thread James Turner
Craig wrote: The validator framework already lets you write reusable custom validation functions, and it already supports dynabeans -- what do you need that is not already available? I'm a big fan of keeping as much stuff in one place as possible. By using the form-property tag, you can

Re: Fwd: Re: Validating DynaBeans and a Jakarta Parable

2002-07-12 Thread Craig R. McClanahan
On Fri, 12 Jul 2002, James Turner wrote: The point? In the quest to incorporate everyone else's best practices into each others products, it's getting harder and harder for us mere mortals to compile, configure and use any of them. I'll turn your question around, Craig. If I want to use

Re: Fwd: Re: Validating DynaBeans and a Jakarta Parable

2002-07-12 Thread James Turner
To turn around your turn around, why should we invent *two* mechanisms to do the same thing (specify validations for dynamic form beans)? That would be a horrendous waste of effort. I disagree but understand and respect your point of view. AFAICT, the validator framework can functionally do

Validating DynaBeans

2002-07-11 Thread James Turner
More Dynabean stuff. Looking over the new form-property DynaBean stuff in the struts config file, it strikes me that the one thing that would make it work seamlessly for 90% of all forms I ever code would be to allow the individual properties to have validation functions rather than require a