[Catalyst] ACCEPT_CONTEXT with Module::Pluggable::Object

2011-10-05 Thread Cylon Toaster
Hello, in the book 'Guide to Catalyst' is described how to build a Driver Model using Module::Pluggable::Object. You can find it on page 88, chapter 'A Driver Model for Generic Translation'. All works fine :-) But now I wanted to implement ACCEPT_CONTEXT, which always worked fine in

[Catalyst] redirect and ajax

2011-03-07 Thread Cylon Toaster
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: