have you ever tryed to compile with string optimization? when i you used
this solution i got an error when i build with string optimze.
timo
Am Mo, 6.04.2009, 15:50, schrieb Matthew Gregory:
> There are a few solutions, can you show your code?
>
> If you are using rpc with event handlers, when you add your listener
> pass 'this' (without quotes) as the third parameter.
>
> Otherwise you might have to do something like this:
>
> var self = this;
> foo(... function()
> {
> // in your callback function use self instead of this
> self.getTableModel();
> });
>
> HTH,
> Matt
>
>
> Michael Ochs wrote:
>> Hi,
>>
>> I'm trying to load a callback function (after rcp request) and make a
>> new table model in this callback function. This table model is stored
>> in this.tableModel but I noticed, that in this case the reference of
>> this points to Window whereas everywhere else this points to
>> frontend.Application How do I get to the frontend.Application object
>> in the callback functions?
>>
>> Thanks for your help,
>> Michael
>>
>> ------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel