I have a controller setup that uses a whole bunch of different AjaxContent helpers. My init() for the controller looks something like this:
$ajaxContext = $this->_helper->getHelper('AjaxContext');
$ajaxContext->addActionContext('index', 'html')
->addActionContext('compose', 'html')
->addActionContext('sent', 'html')
->addActionContext('recipients','html')
->addActionContext('inbox', 'html')
->addActionContext('sendsuccess','html')
->initContext();
At the end of the composeAction(), if a certain condition is met, the AJAX request should forward to sendsuccessAction().
Doing this with the standard _forward() method doesn't seem to forward it as an AjaxContent request - the page wants to render using the standard view template.
Any ideas on how I can use _forward or some other redirect method but keep the request as an AJAX request so the proper action context fires?