Re: [fw-general] contextSwitch AjaxContent

2008-08-11 Thread agatone
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');

Re: [fw-general] contextSwitch AjaxContent

2008-08-11 Thread Matthew Weier O'Phinney
-- 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

[fw-general] contextSwitch AjaxContent

2008-08-07 Thread agatone
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