Thanks, Hector! On Mon, Apr 5, 2010 at 5:40 PM, Hector Virgen [via Zend Framework Community] <[email protected]<ml-node%[email protected]> > wrote:
> No, currently you must specify each action manually. However, you can > extend the contextSwitch or ajaxContext helper to support this feature. Take > a look at the "hasActionContext()" method to add your own condition for the > string "*". > > -- > Hector > > > On Mon, Apr 5, 2010 at 12:09 PM, gelform <[hidden > email]<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1752142&i=0> > > wrote: > >> >> I see how to add contexts to each action, but is there away to add it to >> all >> actions in the controller? I tried * but it didn't work. >> >> >> http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.contextswitch >> >> Thanks. >> -- >> View this message in context: >> http://n4.nabble.com/Add-json-context-to-all-actions-tp1751964p1751964.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> > > > > ------------------------------ > View message @ > http://n4.nabble.com/Add-json-context-to-all-actions-tp1751964p1752142.html > To unsubscribe from Add json context to all actions, click here< (link > removed) ==>. > > > -- View this message in context: http://n4.nabble.com/Add-json-context-to-all-actions-tp1751964p1752761.html Sent from the Zend Framework mailing list archive at Nabble.com.
