On 2011-01-12 11:07 thron7 wrote:
> Welcome, Hansjoerg,
>
>> Warning: Hint: Unknown global symbol referenced: getSelectionModel
>> (QXticket.Application:367)
>> Warning: Hint: Unknown global symbol referenced: StatusButton
>> (QXticket.Application:816)
>> Warning: Hint: Unknown global symbol referenced: getSelectionModel
>> (QXticket.statusview:53)
>>
>> For the first warning in Application.js this is the line
>> getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
>
> getSelectionModel is a bare reference. It's not a method on any object,
> and, if our scope analysis works correctly, it's not a symbol created
> with either
> var getSelectionModel = function ...;
> or
> function getSelectionModel(...;
>
> in the current scope chain (current function or enclosing function(s) or
> top-level), right?! So it must be a top-level symbol outside the current
> file, which is not picked up by the generator. Hence it warns about it
> as unknown global reference. If this analysis is not correct, please let
> us know. Otherwise, you can ignore the warning if you know the symbol
> will be available at run time.
> [...]
Or are you using the 'with' statement? I'm not sure if the generator can
handle this.
On the other hand I would not use the 'with' statement[1]!
/Peter
[1] See chapter 6.18 for details on use/disadvantage an replacement for
'while':
http://books.google.de/books?id=vJGlu9t9LNYC&pg=PA98#v=onepage&q&f=false
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel