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?

How about adding an optional grouping parameter to ActionMessage?  (i.e. new
ActionMessage(1,"message.employee.insert.success",employeeDTO.getName() );

This would enable me to have as many groups as I want, so errors would
display in red, messages in blue, warnings in yellow, and messages to my
wife in pink. ;-)

Wiebe de Jong
http://frontierj.blogspot.com 


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

Reply via email to