On Friday 16 October 2009 19:29:05 Musachy Barroso wrote:
> when you declare a result using annotations, the param values can
> contain OGNL values, just like in xml,:
> 
>  @Action(value="/different/url",
>     result...@result(name="success", type="httpheader",
> params={"status", "%{status}", "errorMessage", "%{error}"})}
>   )
>   public String execute() {
>     return SUCCESS;
>   }

Is this true only for result annotations, or does this apply to other 
annotations as well?

> >
> > I'm tying to define a stream result using the convention plugin. The
> > values for the contentLength and inputName require dynamic values.

For future reference. providing a getContentLength() and getInputName() method 
works as well.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to