On 12/22/05, Jeff Watkins <[EMAIL PROTECTED]> wrote:
> I'm looking at extending the DataController to handle Ajax rather than forms
> and widgets. But it seems that _process_output in controllers.py can't
> handle a controller return value that has both tg_template and tg_format. If
> tg_template is present, it will ignore the tg_format.
>
> Is this correct? Is this intended?

If all you want is the ability to do json, I think you just need to
put allow_json=True in the expose call and pass in tg_format="json"
when you make your AJAX call. That *should* work.

Kevin

Reply via email to