On Mon, Mar 8, 2010 at 10:44, Qoodary Doo <[email protected]> wrote:

> Hi Derrell,
>
> Ok, I now have added "this"
>
>  this.tableModel = new qx.ui.table.model.Simple();
>
> and it works now. Great.
>
> I also tried again your solution with only one addListener:
>
>       var form = new
> mobilewebjobticket.UploadForm('uploadFrm','/uploads/upload.php');
>       this.getTableData("form", form);
>

Nope, you mis-read what I wrote. setUserData and getUserData are methods of
qx.core.Object from which all qooxdoo classes ultimately descend. Those last
two statements of yours should have been:

      var form = new
mobilewebjobticket.UploadForm('uploadFrm','/uploads/upload.php');
      this.setUserData("form", form); // <-- You had the wrong method call
here

which would allow you to call this.getUserData("form") from within your
listener:


>         var response = this.getTableData("form").getIframeHtmlContent();


should be:

        var response = this.getUserData("form").getIframeHtmlContent();

or equivalently,

  var form = this.getUserData("form");
  var response = form.getIframeHtmlContent();

Derrell
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to