Class MessageRetrieveInterceptor

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

public class MessageRetrieveInterceptor extends AbstractInterceptor

If the Struts action implements ValidationAware, removes errors and messages stored in the session by MessageStoreInterceptor and injects it into the action. It is usually 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 interceptor cannot be usefully extended.

Example code

 @InterceptorRefs({
   @InterceptorRef(value="messageRetrieve"),
   @InterceptorRef(value="basicStack")
})
 
See Also: