Hi,
The application I'm building will just basically provide a serie of
webservices that output the data in json format.... What I'm doing is
I have an element which basically does this
echo $javascript->object($json);
Anyways the point is, I have to keep writing in every single
controller
$this->set('json', $myWebServiceOutput);
$this->render('/elements/json_return');
Seems like there should be a way to do this automatically... at least
the $this->render call.... I am not sure if I should put the call
somewhere in my AppController.... any help on this one will be
appreciated.
Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---