2015-01-07 20:46 GMT+01:00 Tenchi Masaki <koouy...@gmail.com>:
> Hi Lukasz,
>
> I've tried setting up a new project just to test the chained action and now
> I'm a bit confused. It's exactly the same configuration on struts.xml:
>
> <action name="someAction" class="com.examples.SomeAction">
>     <interceptor-ref name="basicStack"/>

Can you move the props config here? As you want pass only few props of
someAction to the otherAction, right?

>     <result name="success" type="chain">otherAction</result>
> </action>
> <action name="otherAction" class="com.examples.OtherAction">
>     <interceptor-ref name="chain">
>         <param name="includes">prop1,prop2,prop3</param>

This param doesn't make sense here as you don't use "chain" result here

>     </interceptor-ref>
>     <interceptor-ref name="basicStack"/>
>     <result name="success">good_result.ftl</result>
> </action>


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to