Hi, I’m using the <param>-Tag in an <action>-Tag:
<action name="manageUserAttributes_*" method="{1}" class="springManagedUserAttributesAction"> <param name="menu">access/users</param> <param name="actionMapping">manageUserAttributes</param> <result name="list">/jsp/access/users/attributes/list.jsp</result> </action> The interceptor-stack is the defaultStack. I’ve also defined getter/setter for these parameters (menu/actionMapping). Now on some calls, I’d like to overwrite e.g. the menu-parameter in the action. This works for struts version 2.1.2. But if I migrate to version 2.1.6 or 2.1.8.1, it is no longer possible for me to overwrite these parameters! The setter of the parameter is called several times and ends always with setting the value that is given in the struts-mapping. So it is not possible to set the value of the parameter explicit in the action and read it in the result. Example: call: manageUserAttributes_list method in the action: public String list() { setMenu(null); user = userService.getUser(user.getId()); return RESULT_LIST; } If I process the menu-variable in the resulting jsp, the value is access/users. Does someone know about this behaviour? Am I doing something wrong or is it no longer possible to change these parameters in actions? Thank you Tim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org