Closed GoogleCodeExporter closed 8 years ago
Hi folks, I'm here again, it was faster then I imagined. I managed to get the
code working and now I can render a json into the format I did propose before.
The diff file of the changes I've made follow attached.
As I said before, it can handle a json array of objects filling the table by
the name of the columns get from the column model. I don't know if this is good
for you, but it make my work simple and my java code become something like:
List<Client> clients = entityManager.createNamedQuery("Client.findAll",
Estado.class).getResultList();
json.serialize(clients, response.getOutputStream());
So, it's really awesome to see it working :)
Original comment by lokidark...@gmail.com
on 15 Jun 2011 at 4:07
Attachments:
Hi, I'm here again... sorry by bother you with this bug report, this is my
first time working with pagination. Now I realize why you need the other
parameters as total, for calculate the pages. So, please close this "non bug
report" :)
Sorry by waste your time ( and mine lol ).
Original comment by lokidark...@gmail.com
on 15 Jun 2011 at 5:09
For big and complicated data JSON with named keys are recognized.
Original comment by ymkin....@gmail.com
on 16 Jun 2011 at 9:16
Original issue reported on code.google.com by
lokidark...@gmail.com
on 15 Jun 2011 at 3:15