|
This interceptor populates the action with the static parameters defined in the action configuration. If the action
implements
Parameterizable , a map of the static parameters will be also be passed directly to the action.
Parameters are typically defined with <param> elements within xwork.xml.
Interceptor parameters:
Extending the interceptor:
There are no extension points to this interceptor.
Example code:
<action name="someAction" class="com.examples.SomeAction">
<interceptor-ref name="static-params">
<param name="parse">true</param>
</interceptor-ref>
<result name="success">good_result.ftl</result>
</action>
author: Patrick Lightbody author: tmjee version: $Date: 2007-02-02 13:29:36 +0100 (Fr, 02 Feb 2007) $ $Id: StaticParametersInterceptor.java 1325 2007-02-02 12:29:36Z tm_jee $ |