Hi Derrell,

great, it works now with your solution and with one addListener.
Thank you so much !!!!

I have learned a lot with you, even if I have not understand all in details.
especially what you have donw with the "setUserData" and "getUserData".
I first thought this was wrong written and means my "getTableData" function
:-)

Thanks again for your great help and informations

kind regards
Hansjoerg


2010/3/8 Derrell Lipman <[email protected]>

> 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
>
>
------------------------------------------------------------------------------
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