Simon Flack wrote:
>> Customer::do_edit {
>> # create object
>> ...
>> $r->return_from_redirect({cstmr_id => $obj->id}) if $r->redirect;
>
>
> Wouldn't you need return $r->return_from_redirect(... ?
>
>> .. .
>> }
... perhaps not. I suppose it depends what follows. I suppose I'm asking
whether you should rename that method since it doesn't actually return
from the redirect, it restores the session and calls the referer.
Also, you may need to think about whether/how you can redirect from a
redirect (... and on...) and maintain state/user journey properly.
Simon
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT