At 3:31 PM +0100 12/14/05, Nicolas De Loof wrote:
This deprecation is very interesting but doesn't answer my orginial question :
I wasn't answering your question; I was answering Sony's! ;-)
Why does struts allready have a
saveErrors(request, messages) as
saveErrors(session, messages) can be used for
the same use-case ?
backwards compatibility; saving errors in session scope came later.
Why is there no getErrors(session) ?
Oversight, probably. You could submit an
enhancement request, perhaps with a patch ;-)
Joe
Joe Germuska a écrit :
At 3:00 PM +0100 12/14/05, Nicolas De Loof wrote:
ActionErrors (with "s") is not deprecated,
only ActionError is, and should be replaced by
ActionMessage.
ActionErrors would be deprecated if it were not
part of the public API of ActionForm. If you
are using resource-based messages anywhere but
in a subclass of ActionForm, you should use
ActionMessages.
This is extensively documented in the Wiki.
Please see
http://wiki.apache.org/struts/ActionErrorsAndActionMessages
for more details.
Joe
Sony Thomas a écrit :
HI,
Is there is anything replacing ActionErrors. ActionErrors is deprecated.
sony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message contains information that may be
privileged or confidential and is the property
of the Capgemini Group. It is intended only
for the person to whom it is addressed. If you
are not the intended recipient, you are not
authorized to read, print, retain, copy,
disseminate, distribute, or use this message
or any part thereof. If you receive this
message in error, please notify the sender
immediately and delete all copies of this
message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message contains information that may be
privileged or confidential and is the property
of the Capgemini Group. It is intended only for
the person to whom it is addressed. If you are
not the intended recipient, you are not
authorized to read, print, retain, copy,
disseminate, distribute, or use this message or
any part thereof. If you receive this message
in error, please notify the sender immediately
and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]