Here is the filed issue:
http://zendframework.com/issues/browse/ZF-9731
Le 21/04/10 22:34, Matthew Weier O'Phinney a écrit :
-- Guillaume ORIOL wrote
(on Wednesday, 21 April 2010, 10:22 PM +0200):
You are right, but the example you take is not the Json I get from
$paginator->toJson().
It is t
OK.
I'll file the issue.
Le 21/04/10 22:34, Matthew Weier O'Phinney a écrit :
-- Guillaume ORIOL wrote
(on Wednesday, 21 April 2010, 10:22 PM +0200):
You are right, but the example you take is not the Json I get from
$paginator->toJson().
It is the Json required by JsonRestStore.
Is there som
-- Guillaume ORIOL wrote
(on Wednesday, 21 April 2010, 10:22 PM +0200):
> You are right, but the example you take is not the Json I get from
> $paginator->toJson().
> It is the Json required by JsonRestStore.
> Is there something I misunderstand?
I was saying that we need an issue filed so that
You are right, but the example you take is not the Json I get from
$paginator->toJson().
It is the Json required by JsonRestStore.
Is there something I misunderstand?
Look at your example:
[
{"prop1":"value1","prop2":"value2", ...},
{"prop1":"value1","prop2":"value2", ..
-- Go Lists wrote
(on Wednesday, 21 April 2010, 06:16 PM +0200):
> All right Matthew, but even if the Json object has numeric index, I
> am not sure it will fit JsonRestStore data format requirements
> (array of objetcs instead of object of objects). Don't you think so?
Look at your example:
All right Matthew, but even if the Json object has numeric index, I am
not sure it will fit JsonRestStore data format requirements (array of
objetcs instead of object of objects). Don't you think so?
-- Guillaume ORIOL wrote
(on Wednesday, 21 April 2010, 04:08 PM +0200):
As far as I know,
-- Guillaume ORIOL wrote
(on Wednesday, 21 April 2010, 04:08 PM +0200):
> As far as I know, dojox.data.JsonRestStore expects to receive data in the
> form:
> [
> {"prop1":"value1", "prop2":"value2", ...},
> {"prop1":"value1", "prop2":"value2", ...},
> ...
> ]
>
> On the server side, I fetc
Hi,
As far as I know, dojox.data.JsonRestStore expects to receive data in the form:
[
{"prop1":"value1", "prop2":"value2", ...},
{"prop1":"value1", "prop2":"value2", ...},
...
]
On the server side, I fetch data with a paginator (Zend_Paginator_Adapter_DbSelect). This paginator
implements