Class MessageStoreInterceptor

All Implemented Interfaces:
ConditionalInterceptor, Interceptor, Serializable, ConditionalInterceptor, Interceptor

public class MessageStoreInterceptor extends AbstractInterceptor

If the action implements ValidationAware, stores the errors and messages in the session so it may be retrieved by a later action that displays it. It is usually part of the aflUpdateStack interceptor stack and retrieved by MessageRetrieveInterceptor as part of the aflViewStack interceptor stack.

Interceptor parameters

disabled
If true, all processing is disabled. This is useful for standalone popup windows, especially self-refreshing ones, that never display messages. Defaults to false.

Extending the interceptor

This can't be usefully extended.

Example code

 @InterceptorRefs({
   @InterceptorRef(value="messageStore"),
   @InterceptorRef(value="basicStack")
})
 
See Also:
  • Field Details

    • SESSION_STORED_MESSAGES

      public static final String SESSION_STORED_MESSAGES
  • Constructor Details

    • MessageStoreInterceptor

      public MessageStoreInterceptor()
  • Method Details