Bump... with a little more info.
Using struts 2.0.11.2. I have the annotation
@Result(name="success", value="someaction", params={"id", "${id}"},
type=ServletActionRedirectResult.class). There is a getter and setter for
"id" on both action classes. Neither is called. Results are the same setting
the second item in the array to a literal value. Has anyone had success with
the action Result annotation and the "params" parameter?
Ian Roughley wrote:
>
> Does anyone have a use case for the params field in the Result
> annotation? Currently it's defined in the annotation as:
>
> String[] params() default {};
>
> which I'm not sure makes sense as a name and value was passed in the XML
> configuration.
>
> /Ian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/%40Result-annotation---params-field-tp9108077p20215952.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]