Hi Derrell, 
I've tried it both ways and I still get the warnings. I started out with " var 
codegi = new openemergency.controller.CodeGroupItems(); " and still got the 
warning, which is why I was trying other things. 


With the warnings, the code will not run as expected. There are no other errors 
that I've been able to find; I have a couple more things to try. I'm most 
certainly open to suggestions! 


Thanks, 


Harlan... 

----- Original Message ----- 
From: "Derrell Lipman" <[email protected]> 
To: "Harlan H. Bloom" <[email protected]>, "qooxdoo Development" 
<[email protected]> 
Sent: Thursday, March 15, 2012 7:37:35 AM 
Subject: Re: [qooxdoo-devel] Compiling getting "Unknown global symbol 
referenced" 


On Thu, Mar 15, 2012 at 08:10, Harlan H. Bloom < [email protected] > 
wrote: 


Hi Alex, 
Here is the full Linux path: 
~/openemergency/openemergencygui/javascript/openemergency/source/class/openemergency/controller$
 
$ ls 
CodeGroupsItems.js 

I'm not sure what is or could be missing. The qooxdoo project starts after 
"javascript" in the path above. 



You are defining your class as: 



qx.Class.define("openemergency.controller.CodeGroupsItems", 




What they were trying to tell you is that you are getting this warning: 


Here is the error message: 
>>> Collecting classes 
- Warning: Hint: Unknown global symbol referenced: controller.CodeGroupItems 
(openemergency.view.PatientChiefComplaintView:61) 
- Sorting 376 classes 
>>> Copying resources... 
>>> Done (0m04.87) 

because in the following code, the commented-out line is the correct one (it's 
the one that uses the fully-qualified name defined by your class), while the 
uncommented one is referring to a top-level namespace called 'controller' that 
does not exist. You defined a top-level namespace called 'openemergency' that 
contains a member 'controller', so you must access 'controller' via its 
enclosing namespace, as openemergency.controller. 


Here is the offending line: 
// var codegi = new openemergency.controller.CodeGroupItems(); 

The above is the correct usage, while the below will cause the warning you're 
seeing. 


var codegi = new controller.CodeGroupItems(); 

Derrell 

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to