On 5/29/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
The documentation for the 'errorKey' attribute of all the html taglib tags says:
Name of the _request_ _scope_ bean under which our error messages have
been stored. If not present, the name specified by the
Globals.ERROR_KEY constant string will be used.
Is that still correct? I'm thinking of the ability to store errors in
session scope, and wondering how this is related.
Yes it is related and will look in session scope if not found in
request scope - basically its the same as the "name" attribute on the
<html:errors> and <html:messages> tags - they all use
TagUtils.getActionMessages() to retrieve the messages which uses
PageContext.findAttribute() which searches all the scopes:
page-->request-->session-->application
Niall
Thanks,
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]