|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.chain.commands.ActionCommandBase org.apache.struts.chain.commands.RemoveCachedMessages
public class RemoveCachedMessages
Remove cached messages stored in the session.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
RemoveCachedMessages()
|
Method Summary | |
---|---|
boolean |
execute(ActionContext actionCtx)
Removes any ActionMessages object stored in the session
under Globals.MESSAGE_KEY and Globals.ERROR_KEY
if the messages' isAccessed method returns true. |
Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase |
---|
execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveCachedMessages()
Method Detail |
---|
public boolean execute(ActionContext actionCtx) throws java.lang.Exception
Removes any ActionMessages
object stored in the session
under Globals.MESSAGE_KEY
and Globals.ERROR_KEY
if the messages' isAccessed
method returns true. This
allows messages to be stored in the session, displayed one time, and be
released here.
execute
in interface ActionCommand
execute
in class ActionCommandBase
actionCtx
- The Context
for the current request
false
so that processing continues
java.lang.Exception
- on any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |