[Catalyst] redirect and ajax

Cylon Toaster cylontoaster at gmx.de
Mon Mar 7 12:24:39 GMT 2011


Hello,

I use an ExtJS-form, which sends an AJAX-request to the server. 
Depending on the server-results the user should now be redirected to 
another page,
but somehow it doesn't work any more, when I use AJAX-requests. Normal 
forms are no problem.

I have used constructions like this:
     
$c->res->redirect($c->uri_for($c->controller('aaa')->action_for('bbb')));
or ...
     $c->detach('/aaa/bbb');

Any hint for me?
Thank u.




More information about the Catalyst mailing list