Hi,
qooxdoo is wonderful. I miss only a pipeline to spend you one or more
buttles of beer. Good Bavarian one.

Now I get datas with the following code in my table:
var req = new qx.io.remote.Request("test.php","POST", "application/json");
  req.addListener("completed", myReq);
  req.send();
  rowData= [];
  function myReq (e) { 
   if(e != 'undefined'){
    var result = e.getContent();
    for(var i in result){
    res1 = result[i];
    //alert('test: '+res1.STAND_ID);
    rowData.push([ res1.STAND_ID, res1.STNAME, 'Test1', 'Test2' ]);
    }
  }
   return rowData;
 }

and in the Table:
table.getTableModel().setData(rowData);

But what wonder the next problems:
Sometimes I get a result sometimes not. It seems the request is to slow for
the clientside javascript.
In firebug console there is sometime a POST result, sometimes a timeout by
the POST line.

Is there a possibility to wait for the answer?

Yes, I was on the RPCphp site. I hope it was the right one:
Here a code with remote table:
http://manual.qooxdoo.org/1.3/pages/widget/table_remote_model.html
Do you mean this site?
http://qooxdoo.org/contrib/project/rpcphp
Here are terrible links on the site. The link to the example goes to a site
with a link back to the first site.

Do you have some correct links to rpc with an example code?

But first what can I do to get my result with the "normal" code ever in the
table? See my problem on top.

Thanks
Josef

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/I-m-frustrated-tp5975196p5975795.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to