Hi,
I'm trying to pass request params to an action when redirecting, but
I'm getting OgnlException with messages:
1. org.apache.struts2.dispatcher.ServletActionRedirectResult.employeeId
2. Caught OgnlException while setting property 'employeeId' on type
'org.apache.struts2.dispatcher.ServletActionRedirectResult'.
3. ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.employeeId
I've followed the API docs [1] and made such configuration:
<action name="update" class="employeeAction" method="doUpdate">
<result name="input" type="redirectAction">
<param name="actionName">edit</param>
<param name="namespace">/employees</param>
<param name="employeeId">-1</param>
</result>
<result name="list-redirect" type="redirectAction">list</result>
</action>
Any suggestion?
[1] http://struts.apache.org/2.1.2/struts2-core/apidocs/index.html
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]