Roberto HenrĂ­quez wrote:

> if you end your update action with a forward, you also have another
> problem. The user ends up viewing the data item under a
> "/data/xxxx/update" URL; I consider way more elegant to issue a
> redirection to the "view data" uri right after the update. Thus, in
> your case I would do
>
> $c->res->redirect( $c->uri_for( "/data/$id") );
>
> after the update is done. And the address displayed in the browser
> would be "/data/xxx" instead of an ugly "update" url.

Well, thank you, but redirects are the things I try to avoid for several 
reasons.
-- 
Bernhard Graf

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to