AFAIK you would need to return the uri to the browser, as your ajax response and redirect the browser using javascript.
On Mon, Mar 7, 2011 at 10:24 PM, Cylon Toaster <cylontoas...@gmx.de> wrote: > 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. > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/