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 <[email protected]> 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.
>

Reply via email to