Class FormStoreInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor
,Serializable
public class FormStoreInterceptor
extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
If the action implements FormDriven
, stores the form 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
FormRetrieveInterceptor
as part of the aflViewStack interceptor stack.
Interceptor parameters
none
Extending the interceptor
This can't be usefully extended.
Example code
@InterceptorRefs({ @InterceptorRef(value="formStore"), @InterceptorRef(value="basicStack") })
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
-
Field Details
-
SESSION_STORED_FORM
-
-
Constructor Details
-
FormStoreInterceptor
public FormStoreInterceptor()
-
-
Method Details
-
intercept
- Specified by:
intercept
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
- Specified by:
intercept
in classcom.opensymphony.xwork2.interceptor.AbstractInterceptor
- Throws:
Exception
-