DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34857>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34857





------- Additional Comments From [EMAIL PROTECTED]  2005-10-27 03:00 -------
Actually, I had a scenario where the messages where saved in one action in the
session scope, since I wanted to redirect to another action. At this action, I
get all the messages back and added a couple of information messages to the
user. When  I used the getMessages() I noticed it just checked for the messages
object in the request scope, while I think the correct behaviour would be to
check in both scopes.

AppFuse implements a BaseAction with getMessages() and getErrors() that do check
in both scopes, and I had to implement these methods in a BaseAction of mine to
work properly. Otherwise I would have to save the messages in the request scope
and stop redirecting, what I wouldn't like to do.

What do you think?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to