[FLOW3-general] Creating a JSON output
François Suter
fsu-lists at cobweb.ch
Tue Nov 6 14:59:15 CET 2012
Hi Pankaj,
> If you feed the variable (clients) with an array of objects (the query
> result returned by the repository->findAll() method) then probably you
> have to use the _descendAll as outer wrap. I had a talk on REST API with
> FLOW3 at T3CON12ASIA. You can have look at the code example
> https://github.com/pankajlele/t3con12asia/blob/master/FLOW3Application/Packages/Application/Lelesys.EventsExample/Classes/Controller/EventController.php
Thanks for your code samples. It got me a bit further, although I still
have problem defining a proper configuration for the view output. I've
got a first simple view working and I'll keep digging and asking
questions for more complicated views as needed.
Now I have a security question, but I'll open a new thread for it.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the FLOW3-general
mailing list