Hello!

I am currently working on the integration of qooxdoo into the XML11
project, as I mentioned some time ago. A part of what we do is
translating Java classes to javascript. But I am running into the
problem, that whenever I have a package called "java", qooxdoo fails. Is
this maybe a reserved word?
I can reproduce this error very easily: If I say
qx.Class.define("java.Test")... and try to create a new object with new
java.Test() it tells me, that the constructor could not be found. If I
change it to "javi.Test", for example, everything is fine. I am using
version 0.7 beta-1.

Is this a bug in qooxdoo, a browser reserved word or a limitation on
purpose? Of course, having "java" as the package name should never
happen in usual AJAX applications, but in our case it unfortunately
happens. If there is no way, I have to implement some kind of
name-changing, whenever the package name "java" is occuring. But it
would be nice if this could be avoided.

Thanks for you help!
Sascha Häberling
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to