[Catalyst] preserve the URL in browser box
Wade.Stuart at fallon.com
Wade.Stuart at fallon.com
Wed Jan 18 17:37:50 CET 2006
> hi,
>
> I have the following scenario :
>
> sub additem {
> ......
> $c->forward('listitems');
> }
>
> sub listitems {
> ......
> $c->forward('...V:TT');
> }
>
> sub postitem {
> ......
> $c->forward('additem');
> }
>
>
> postitem is called from a <FORM> in additem page.
> Now the problem is that after posting an item the address in the
> browser url box is left as 'postitem', but I want it to be 'additem'.
> Is it possible if yes how ?
>
If I read this right (the subs dont have :local etc), no not
wthout a redirect instead of a forward -- but you lose the stash
it would be a new request.
-Wade
More information about the Catalyst
mailing list