Thanks for the posts.
But really I don't understand this behavior. Why are an example code in the
controls demo if I cann't use this code?

I thought so that I cann't mix the sample code form docu and playground. But
there is always a problem for me.

An other example:

I have a window in "normal code" like:

this.getroot().add(mywindow);

Than a table like

mytable = new qx.ui.table.RemoteTableModel();
mywindow.add.mytable;

Ok than I need datas for this table: I found some pages like this:

qx.Class.define("myApplication.table.RemoteDataModel",
{
  extend : qx.ui.table.model.Remote,

  members :
  {
     // overloaded - called whenever the table requests the row count
    _loadRowCount : function()
    {
      // Call the backend service (example) - using XmlHttp
      var url  = "http://localhost/services/getTableCount.php";;
      var req = new qx.io.remote.Request(url, "GET", "application/json");

      // Add listener
      req.addListener("completed", this._onRowCountCompleted, this);

      // send request
      req.send();
    },

So I have the same problem. How can I get this functions , ect. to my table?

Building a own request I thought like this:

var req = new qx.io.remote.Request("test.php","POST", "application/json");
req.addListener("completed", myReq);
req.send();
function myReq (e) { 
        var result = e.getContent(); 
        for(var i in result)
        res1 = result[i];
        alert('test: '+res1.STAND_ID);
        var test = e.getContent(); 
}

In my alert box I get the array I defined in my test.php.

But now how can I get this var result = e.getContent(); in my table without
the mechanism defined in the code sample before?

mytable.getValue(??????? or what???

It's a pretty fine framework I think but not good to handle for beginners.
The most important thing in a RIA application is the data handling between
in my case php and the client and there is nothing for help in the docu.

Only this terrible code snippets in the demos.

Thanks again and thanks for patience.

Josef


 
 
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/I-m-frustrated-tp5975196p5975402.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