--- Ted Husted <[EMAIL PROTECTED]> wrote: > Maybe we can wait until it's time to add a form of validate that will > just take a mutable ActionContext and return void, and deprecate it all > at once.
Well, ActionError was easily replaced with ActionMessage. Also, I updated most references to ActionErrors with ActionMessages. I only left ActionErrors in validation related methods. So, I'm fine with leaving ActionError deprecated for the 1.2 release. David > > Robert Leland wrote: > > > David Graham wrote: > > > >> Only ActionError was deprecated, not ActionErrors. We still need to > use > >> ActionErrors because the ActionForm.validate() method returns an > instance > >> of that class. ActionMessage should be used instead of ActionError > >> though. > >> > > Eventually we'll need to add a method that will allow us to deprecate > > ActionForm.validate(), just as > > Action.execute() deprecated Action.perform(). The only reason I > haven't > > done that is I couldn't think of a good name > > maybe > > valid(), > > validateForm(), > > doValidate(), > > checkFields(), > > checkForm() > > ... ??? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]