开发者

simple constructor causing error in qooxdoo - new qx.data.controller.Object();

I'm getting errors when using basic qooxdoo objects. I am able to开发者_StackOverflow中文版 use some things just fine, but I am getting an error when I do:

var controller = new qx.data.controller.Object();

I get an error. In safari:

TypeError: Result of expression 'qx.data.controller' [undefined] is not an object.

In firefox:

qx.data.controller is undefined

Do you know why such a basic thing might be causing an error? I am running this code in main() in Application.js

Thanks!


Looks like the class qx.data.controller.Object isn't included in your application. You need to run "generate.py source" whenever you use a new class in your code. Alternatively, you can run "generate.py source-all" once, which will include all known classes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜