Musachy Barroso wrote:
That would make sense, I think redirectAction assumes that the
location is the actionName by default, so adding parameters to it
wouldn't work.
Yeah, I had forgotten I was using "redirectAction" :/
Dave
--
That would make sense, I think redirectAction assumes that the
location is the actionName by default, so adding parameters to it
wouldn't work.
musachy
On Sun, Feb 15, 2009 at 7:08 PM, Dave Newton wrote:
> Allen Lee wrote:
>>
>> Weird, it worked for me when I threw the URL in the location parame
Allen Lee wrote:
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}")
What version are you using? It didn't work for me, but I was using
redirectAction.
Dave
--
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 wrote:
> Musachy Barroso wrote:
>>
>> you can put the whole " view?resourceId=${resource.
Hum, I will have to check it out, now I am not sure. It migh be worth
it adding a note to the wiki.
musachy
On Sat, Feb 14, 2009 at 9:28 PM, Dave Newton wrote:
> Musachy Barroso wrote:
>>
>> you can put the whole " view?resourceId=${resource.id}" in the params.
>
> Just to clarify (as I ran into
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="...",
you can put the whole " view?resourceId=${resource.id}" in the params.
On Thu, Jan 29, 2009 at 8:57 PM, Allen Lee wrote:
> Hi there,
>
> After saving a persistent resource I'd like to redirect after the post
> to a view page that views the resource. I'm trying to do something
> along the lines o
7 matches
Mail list logo