So nobody knows anything ? never used it ?
agatone wrote:
Hi,
I'm trying to use contextSwitch (or AjaxSwitch) as i want for some action
to be accessible in JSON format.
The code i have in my init() of a controller is:
$context = $this-_helper-getHelper('ContextSwitch');
-- agatone [EMAIL PROTECTED] wrote
(on Monday, 11 August 2008, 01:30 AM -0700):
So nobody knows anything ? never used it ?
I've been busy with release issues; I'll try to look at this in the next
day or so.
agatone wrote:
Hi,
I'm trying to use contextSwitch (or AjaxSwitch) as i want
Hi,
I'm trying to use contextSwitch (or AjaxSwitch) as i want for some action to
be accessible in JSON format.
The code i have in my init() of a controller is:
$context = $this-_helper-getHelper('ContextSwitch');
$context-addActionContext('read', 'json');
$ajaxContext-initContext();
If