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

Reply via email to