PDA

View Full Version : How to get an object in ajax by Json to process it later



samax
11 Jun 2009, 8:02 AM
Hello,
I would like to retrieve an object using Json by an Ajax query to a PHP script.
I know how to do this to retrieve the items of a store or of a form, but I would like to retrieve the items of multiple stores and forms in one unique query.

Does anyone have an idea of how to do that?

Thanks.

11 Jun 2009, 8:35 AM
OK, so you want to:

perform one ajax call,

apply the data to multiple stores, and forms?

samax
11 Jun 2009, 12:31 PM
It's exactly that :)

crp_spaeth
11 Jun 2009, 2:14 PM
Take a look at Ext.Direct in combination with RemotingProvider, the propertie enableBuffer will allow you to bundle all Calls made in the buffer to one requests.