On Sun, May 22, 2011 at 12:47, hgc2002 <[email protected]> wrote:

> Hi, I'm tring to make a build version of my code. I'm using Qx 1.4.
>
> After running "generate.py build" and try the app on Chrome, it starts
> giving error messages like
>
> "Uncaught TypeError: Object fkq.ui.main.MainToolbar[62] has no method
> '__makeHandler'"
>

The double underscores at the beginning of the variable name make it a
"private" variable, that can be accessed only within the class in which it
is defined. Whether mixed in or otherwise, private variables are not
accessible (in the "build" version) outside of the class (or Mixin) in which
they are defined.

You should either make the variable "protected" (one underscore), or, better
yet, most of the time, create a getter function to return it.

Derrell
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to