Class FormRetrieveInterceptor

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

public class FormRetrieveInterceptor extends AbstractInterceptor

Retrieves a form stored in the session by FormStoreInterceptor and injects it into the action's member variable configured by the Form annotation to accept it. It is usually part of the ViewStack interceptor stack so a view action can display rejected form data.

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

The following method could be overridden :-

fieldReceives
Whether Struts action member variable can be set to the stored form.

Example code

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