--- On Fri, 8/29/08, Lukasz Lenart wrote:
> 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?

This is old, known behavior. Does it still work?

(What do the Javadocs have to do with this?)

See JIRA issues [1,2].

Dave

[1] https://issues.apache.org/struts/browse/WW-1714
[2] https://issues.apache.org/struts/browse/WW-2600


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to