Michael Helwig schrieb: > 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. > > The event is inherited from "qx.ui.form.AbstractField". It should work just as in the TextField. If it is not working please open a bug report for this issue.
Best Fabian >> 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 > > > -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe Telefon: +49 721 91374-6784 fabian.jak...@1und1.de Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ 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