Hi Andrea, there is no input event listed in the Api reference on http://demo.qooxdoo.org:8181/current/apiviewer/#qx.ui.form.TextArea while it is listed on http://demo.qooxdoo.org:8181/current/apiviewer/#qx.ui.form.TextField. Probably there simply is no input event for TextArea widgets (though there should be, according to IFormElement, as far as I can see). But I'm not an expert on this.
Best, Michael Andrea Venturini schrieb: > Hi all, > I can't get to work the "input" event on the object > qx.ui.form.TextArea. It works with the qx.ui.form.TextField object and I > can't see differences in my code. Could it be a bug or something is > wrong in my code? > > > Here my code: > > _createText : function ( textData, r ) > { > var textWidget = new qx.ui.form.TextField(); > > this.add(new qx.ui.basic.Label( textData["label"] + ":" > ).set ({marginLeft: 8}), {row: r, column: 1 } ); > this.add(textWidget, {row: r, column: 3 }); > textWidget.getSuggestion = function (e) { return > textWidget.form.getSuggestion (e) }; > > textWidget.addListener("input", function(e) > { > this.form.onChange ( > this.form.layoutData[r]["name"] ); > }); > > return textWidget; > }, > > _createNote : function ( textData, r ) > { > this._setRowSize ( textData["size"], r ); > var textWidget = new qx.ui.form.TextArea(); > > this.add(new qx.ui.basic.Label( textData["label"] + ":" > ).set ({marginLeft: 8}), {row: r, column: 1 } ); > this.add(textWidget, {row: r, column: 3 }); > > textWidget.addListener("input", function(e) > { > this.form.onChange ( > this.form.layoutData[r]["name"] ); > }); > > return textWidget; > }, > > > Thanks in advance. > > Ciao > a > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel