On Fri, Sep 17, 2010 at 8:26 AM, yi fu <[email protected]> wrote:
> Hi,
>
> I wonder is it possible to fetch view content to controller and then
> wrap it to json format, then send back to user?

http://nuts-and-bolts-of-cakephp.com/2008/05/07/json-output-with-cakephp/
http://bakery.cakephp.org/articles/view/generating-automatized-json-as-output
http://www.milesj.me/blog/read/64/Doing-AJAX-Calls-In-CakePHP-Part-3-_-The-JSON-Response

google will show you more.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to