Wiebe de Jong [mailto:[EMAIL PROTECTED] wrote:
> I've notices that ActionError will be deprecated in struts 1.2.1. 
> This may cause me a problem.
> Having two separate lists (ActionErrors and ActionMessages) is great
because of the 
> separation of concerns. I can display the Errors in red and the
Messages in green. When 
> there is only one list, how will I be able to differentiate?

I noticed this, too, but I think it's okay.  There are still two lists,
and in the Action, you use either saveErrors or saveMessages depending
on what you've got.  What changed is the argument to saveErrors-- now
you saveErrors(HttpServletRequest, ActionMessages).

http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.htm
l

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to