Hi Josef, Yesterday josefkoller wrote:
> > 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. you have to put the .setData into the myReq function cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 ------------------------------------------------------------------------------ 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