Hi devs,

This snipped works, but if I click to SelectBox, the exception is thrown

(
[Exception... "'Error: Property selected of an instance of
qx.ui.form.SelectBox is not (yet) ready!' when calling method:
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
)

// application declaration ommited

    // [Entry point]
    main: function()
    {
      // [SuperClass]
      this.base(arguments);

      // [Main Container]
      this._container = new qx.ui.container.Composite(
        new qx.ui.layout.VBox().set({
          spacing: 1
        })
      );
      this.getRoot().add(this._container, {edge: 0});

      // [Combo]
      this._combo = new qx.ui.form.SelectBox();
      this._container.add(this._combo);
      this._combo.removeAll();
    }

Cheers
- Petr

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to