Qooxdoo and its infamous “is not a constructor” error

You’re whacking along in Qooxdoo and you’re app stops working with a “Foo is not a constructor” error where Foo is a class you just know is there like qx.ui.form.List. Uh?

The solution is to drop to a command line and issue a “generate.py source-all”.

This will pick all framework classes and avoid any issues with the qx classes.

Rinse and repeat if you add new classes.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s