you may have found a bug on a untested cornercase..
pls see followup comments in JIRA

thanks
> 
> Recently I upgraded to struts 2.1 GA from 2.0. Noticed that param tag used
> in action tag is no longer passing non array non string objects to the
> action being called, actually throwing an exception
> 
> Change is under https://issues.apache.org/struts/browse/WW-1960
> 
> ActionComponent class has the following logic now
> 
> The objects created in my application cannot be passed to an action anymore.
> 
> <s:action name="myAction" executeResult="true">
>      <s:param name="param1" value="myObjectMap['myObjectName']"/>
> <s:action>
> 
> 
> Is there anyway around this ? I really liked the nice feature to pass
> objects around. Appreciate any suggestions

_________________________________________________________________
Quick access to your favorite MSN content and Windows Live with Internet 
Explorer 8. 
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A

Reply via email to