DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15540>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15540 You can't control validation from within a form ------- Additional Comments From [EMAIL PROTECTED] 2002-12-19 18:25 ------- I've actually already implemented what you're suggesting. But I like the approach I suggested in my original post for a couple of reasons: (1) if shouldValidate() were executed in RequestProcessor rather than in the validate() method of a subclass of ActionForm(), life is easier in terms of backward compatibility. (2) I think my suggestion is just a generalization of the check for cancelled transactions that already exists in RequestProcessor.processValidate(). In fact, the check to see if the transaction is cancelled should probably be the default implementation of shouldValidate(). (3) It's just more elegant to put this logic in processValidate() than to do some tricky subclassing and overriding. (ok, so it's not that tricky... but it's certainly less pretty). Anyway, as I mentioned above, I've already implemented a shouldValidate() structure, but I'd like it better if it were implemented in the manner I suggested in my original post. So, yeah, I'm looking out for my own interests here, but I think there are benefits for the community at large. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>