Hello and welcome to the qooxdoo community,
have you tried running "generate source" in your app directory.
Regards,
samu88 wrote
> Hi. how are you? Im new using this framework, and i have a little problem.
> This code failed, i recieve this debugg message "Uncaught TypeError:
> undefined is not a function " in this line "var comboBox = new
> qx.ui.form.VirtualComboBox();". Anyone can help me please ? Thanks in
> advance!
>
>
> qx.Class.define("prueba.Application", {
> extend : qx.application.Standalone,
>
> members : {
> /**
>* This method contains the initial application code and gets
> called
>* during startup of the application
>*
>* @lint ignoreDeprecated(alert)
>*/
> main : function() {
> this.base(arguments);
>
>
> this._createDefaultExample();
> },
>
> /**
>* Creates a default example.
>* This means that a regular combobox will be created and
> filled with
>* some templates.
>*
>* @return {void}
>*/
> _createDefaultExample : function() {
> // create and add the describing label
> var label = new qx.ui.basic.Label("Default");
> label.setFont("bold");
>
> this.getRoot().add(label, {
> left : 20,
> top : 25
> });
>
> // create a combo box
> var comboBox = new qx.ui.form.VirtualComboBox();
>
> //create a simple model
> var rawData = [];
> for (var i = 1; i < 401; i++) {
> rawData.push("2^ " + i + " = " + Math.pow(2,
> i));
> }
>
> var model = qx.data.marshal.Json.createModel(rawData);
> comboBox.setModel(model);
>
> comboBox.addListener("changeValue", function(e) {
> this.debug("ChangeValue: " + e.getData());
> });
>
> // add the combobox to the documents root
> this.getRoot().add(comboBox, {
> left : 20,
> top : 40
> });
> }
> }
> });
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Combobox-error-Help-tp7582531p7582539.html
Sent from the qooxdoo mailing list archive at Nabble.com.
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel