Weird, it worked for me when I threw the URL in the location parameter, i.e.,

@Result(name="success", type="redirect",
location="view?resourceId=${resource.id}")

On Sat, Feb 14, 2009 at 7:28 PM, Dave Newton <newton.d...@yahoo.com> wrote:
> Musachy Barroso wrote:
>>
>> you can put the whole " view?resourceId=${resource.id}" in the params.
>
> Just to clarify (as I ran into this converting a small app to Convention)...
> It doesn't seem possible to put the whole URL into the "location" parameter,
> instead I had to:
>
> @Result(name="...",
>        location="...",
>        params={"resourceId", "${resource.id}"})
>
> Does that jive with what you were saying?
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Allen Lee
Center for the Study of Institutional Diversity [http://csid.asu.edu]
School of Human Evolution and Social Change [http://shesc.asu.edu]
The Virtual Commons [http://commons.asu.edu]
The Digital Archaeological Record [http://www.tdar.org]
The OpenABM Consortium [http://www.openabm.org]
Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402
Office: 480.727.0401 | Fax: 480.965.7671

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

Reply via email to