I need to patch dialog.Dialog.

In my application, i have :

Application.js, containing "qx.Class.patch(dialog.Dialog,
tradingactive.patchDialog);"

and

patchDialog.js, containing the code below, which is the same as the original
one, but i just added console.log('here'):

qx.Class.define("tradingactive.patchDialog", {
    extend : qx.ui.container.Composite,
    members:{
        _createOkButton : function() {
            console.log('here !');
            var okButton = this._okButton =  new
qx.ui.form.Button(this.tr("OK"));
            okButton.setIcon("icon/22/actions/dialog-ok.png")
            okButton.setAllowStretchX(false);
            okButton.addListener("execute", this._handleOk, this);
            return okButton;
        }
    }
});


I clean my browser catch, and generate.py source.


But i never see 'here' in the console, the patch is not apply, any
suggestion ?

Thanks in advance


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/howto-my-first-qooxdoo-patch-tp6691271p6691271.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to