AFAIK you would need to return the uri to the browser, as your ajax
response and redirect the browser using javascript.
yes, thank u, this was my emergency-solution. I just thought it could
also be done by the server, more elegantly ;-)
On Mon, Mar 7, 2011 at 10:24 PM, Cylon Toaster<[email protected]> 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: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/