0
在教程enter link description here他们只显示此:如何使用Qooxdoo的商店通过POST请求ajax响应?
var url = "http://api.twitter.com/1/statuses/public_timeline.json";
this.__store = new qx.data.store.Jsonp(url, null, "callback");
但我需要用我自己的服务器进行通信,所以我做了一些改变:(url和JSONP以JSON)
var url = "http://127.0.0.1:8000/";
this.__store = new qx.data.store.Json(url);
但我需要能够在一定的信息发送到服务器时,店里做出这样的要求:
{serviceToUseOnServer: 'articles', argument1: 'xxx'}
这就像一个POST reque st,但我真的不知道如何使用qooxdoo的Store模型将数据发送到服务器。请不要告诉我使用GET并将所有数据编码到一个url中。
交叉后从邮件的Qooxdoo列表:http://qooxdoo.678.n2.nabble.com/How-to-use-Qooxdoo-s-Stores-to-request- an-ajax-response-with-a-POST-td7312461.html – ThomasH 2012-02-23 22:44:07
谢谢我很快就会测试,请在这里作为回答接受,如果它工作 – 2012-02-24 09:03:14
(它的工作原理,谢谢) – 2012-02-24 11:41:26