I have figured this out, thanks to this post: 

http://framework.zend.com/issues/browse/ZF-3690
http://framework.zend.com/issues/browse/ZF-3690 

The workaround is to also add an 'html' context to the contextSwitch:

$contextSwitch->addContext('html', array());


afx114 wrote:
> 
> I'm using multiple contextSwitch contexts, and they all work great. 
> However, now I need to add an AjaxContext, and I can't seem to get it to
> work.  If I comment out my regular contextSwitch, the AjaxContext works
> fine.  It's only a problem when I use them both at the same time.  What am
> I doing wrong?

-- 
View this message in context: 
http://www.nabble.com/Using-both-AjaxContext-and-contextSwitch-together.-tp24105715p24117410.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to