ActionError has been deprecated for some time so we could remove it in 1.3. ActionErrors only exists because of ActionForm.validate(). I figured we would remove ActionErrors, ActionMessages, and ActionMessage in 2.0 and replace them with commons-resources.
I wouldn't be opposed to deprecating ActionErrors and changing the ActionForm.validate() signature to return ActionMessages in the 1.x series though. Seems like it would reduce confusion even if it's a minor API breakage.
I'd like to do this in Struts 1.3.x to reduce the confusion we've seen on the struts-user list. Would this suffice:
1) make a validateForm(...) method which returns ActionMessages and which in existing classes delegates to validate(...)
2) change the RequestProcessor to call the new method
Anyone have strong feelings about the method name? Obviously we can't use "validate".
I agree that this is relatively minor API breakage, and if think the 1.3 change provides us suitable "cover" for that -- unless James or other commons-resources parties think we should go straight to commons-resources for Struts 1.3. That had been mentioned in some past roadmaps.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]