Dashboard > WebWork > ... > Interceptors > Model Driven Interceptor
  WebWork Log In View a printable version of the current page.  
  Model Driven Interceptor
Added by Onyeje Bose, last edited by Onyeje Bose on Oct 18, 2005  (view change)
Labels: 
(None)

Watches for ModelDriven actions and adds the action's model on to the value stack.

Note: The ModelDrivenInterceptor must come before the both StaticParametersInterceptor and ParametersInterceptor if you want the parameters to be applied to the model.

Note: The ModelDrivenInterceptor will only push the model into the stack when the model is not null, else it will be ignored.

Parameters

  • None

Extending the Interceptor

There are no known extension points to this interceptor.

Examples

<action name="someAction" class="com.examples.SomeAction">
    <interceptor-ref name="model-driven"/>
    <interceptor-ref name="basicStack"/>
    <result name="success">good_result.ftl</result>
</action>

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators