--- Mike Janson <[EMAIL PROTECTED]> wrote: > I was wondering if someone could tell me a practical reason why the > field property of ValidatorResult is protected yet no public accessor > exists for it.
That's a good question and if you look at the recent source you'll find a TODO tag indicating that I have been confused by that field variable myself :-). It's not used in the code so I was considering removing it. However, if you need access to it, then we should add an accessor method. I have no idea why this wasn't done in the original versions. David > > I'm currently using DynaValidatorForms in Struts, and I have a > requirement for field error-dependent flow control. Unless there's some > > other way to track errors back to fields that I'm unaware of, the lack > of a public accessor means I'm going to have to extend at least 4 > classes (including a fair chunk of code), including Validator and > ValidatorResult (to add the accessor). > > -Mike > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ 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]
