Hi Chris

I send you the application.js file...
The demo part comes from this site: http://demo.qooxdoo.org/current/demobrowser/#widget~SelectBox.html

Thanks for your answer.
Daniel

Christian Schmidt schrieb:
Hi Daniel,

perhaps this is a bug, but I will try to reproduce this. Could you please send me the link from the demo, where you are copied the source code? Or can you send me your compleate application.js?

Thanks,
Chris

Daniel Lenggenhager schrieb:
Hi at all,

Today I'm a little confused...

I've got problems with some widgets of the paket qx.ui.form... in example the SelectBox. I created a new application (0.8.3) and put the code from the demo site into the main function.
I downloaded the last version today from the website.

The code works fine, when i use the following command: generate.py source-all, but the "builder" version with the command: generate.py build doesn't work.
This is the error code (Firefox): this.__ef is not a function

You've got an idea, where's the problem?
(I want first ask here, before I start a bug report, if there's a really bug ;o) )
Thanks for your answers.

Daniel

...
var scroller = new qx.ui.container.Scroll();

var box = new qx.ui.container.Composite(new qx.ui.layout.HBox(50));
box.setPadding(20);

box.add(this.createBox1());

scroller.add(box, {left : 20, top : 20});
this.getRoot().add(scroller, {edge : 0});
...

createBox1 : function(){
  var container = new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
  container.add(new qx.ui.basic.Label("Simple"));

  var selectBox = new qx.ui.form.SelectBox();
  for (var i=0; i<30; i++){
    var tempItem = new qx.ui.form.ListItem("Item " + (i+1));
    selectBox.add(tempItem);

    if (i == 5){
      selectBox.setSelection([tempItem]);
    }
  }
  selectBox.addListener("changeSelection", function(e){
    this.debug("changeSelection: " + e.getData()[0]);
  });

  container.add(selectBox);

  return container;
}
------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



Attachment: Application.js
Description: JavaScript source

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to