Hi! I'm updating from Struts 2.1.8.1 to 2.2.1.1.
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. The page from which the action is called has a property getActionLinks and returns the data. This works in 2.1.8.1 but not in 2.2.1.1! I did not change any code. I only updated the libs. Is there any change from 2.1.8.1 to 2.2.1.1? Maurizio Cucchiara wrote: > > 2010/11/17 Raj Nagappan <r...@velocitylabs.com> > >> >> I would say this is a regression bug from 2.0.x, yes? >> >> > I guess you're right. > Take a look at https://issues.apache.org/jira/browse/WW-1960 > Could you open an issue, referencing the one above? > I'm sure someone helps you. > In the meanwhile could you try to change action's behavior? > > <s:action namespace="/search" name="KeywordList" executeResult="true" > ignoreContextParams="true"> > <%--REMOVE THIS LINE <s:param name="keywordList" > value="photoSet.keywordListLazyLoad"/>--%> > </s:action> > > and create a new method inside your KeywordList action called set > KeywordListLazyLoad() > -- > Maurizio Cucchiara > > -- View this message in context: http://old.nabble.com/Setting-object-from-param-tag-fails-in-Struts-2.2.1-tp30216692p30520424.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org