As far as I know this behavior was fixed with the patch sent by Lukasz
(see [1] and also [2]).
I can't figure out what happened, as far I can see in subversion logs
[3] the patch was submitted three months ago, though source code of
last struts2 version contains the old version of ChainInterceptor.


[1] https://issues.apache.org/jira/browse/WW-3503
[2] https://issues.apache.org/jira/browse/WW-3488
[3] 
http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java?p2=/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java&p1=/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java&r1=997345&r2=997344&view=diff&pathrev=997345

2010/12/23 Dave Newton <davelnew...@gmail.com>:
> On Thu, Dec 23, 2010 at 7:30 AM, Pro1712 wrote:
>
>> I use this action:
>> <mm:action name="ActionLinksAction" executeResult="true"
>> ignoreContextParams="true">
>>        <mm:param name="direction" value="'vertical'" />
>>        <mm:param name="position" value="'anlegen'" />
>>        <mm:param name="cssIconStyle" value="'item_header_table_backcolor'"
>> />
>> </mm:action>
>>
>> ActionLinksAction has this method:
>> public void setActionLinks(final LinkedHashMap<String, Object> actionLinks)
>> {
>>        actionLinks_ = actionLinks;
>> }
>>
>> This should be filled from the context.
>>
>
> Why/how? The action tag will just push the action onto the stack and set the
> parameters you've defined. There's no context copy into the new action, if I
> remember correct (which I may well not).
>
>
>> The page from which the action is called has a property getActionLinks and
>> returns the data.
>>
>
> That would return the actionLinks from the *original* action, because it's
> the first object on the stack with a publicly-accessible getter, no? I don't
> see why the action being called would have setActionLinks() called.
>
> Dave
>



-- 
Maurizio Cucchiara

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

Reply via email to