Hi, well.. after some days trying some things.. I beleive a solution is to
create a new event, and fire it on click on containers....... but what I do,
just don't works at all!! .. no idea what's the problem.. the code is so
simple.. any help would be good received:

------------------
...

    events : {
        "loadCourse": "qx.event.type.Data"
    },


...

            var name = new qx.ui.basic.Label().set({
                value: "This is the subject",
                rich : true,
                textColor: "#666",
                font: new qx.bom.Font().set({
                    size: 16,
                    bold: true
                })
            });

            name.addListener("loadCourse", function(e) {
                 qx.log.Logger.debug("listen even loadCourse");
                this.setValue(e.getData());
            }, this);

            var btn2 = new qx.ui.form.Button("First Button",
"icon/22/apps/internet-web-browser.png");
            btn2.addListener("execute", function() {
                qx.log.Logger.debug("fire");
                this.fireDataEvent("loadCourse", "data");
            },this);

...
-------------------------

what's the problem of this code?!?!, I don't know if really "fires" works
¿how to check? (I guess no), and if it's fired, don't know why label don't
noted..

PS: still I'm waiting that my first message post on mailing list  .. hope
will be soon.. why don't use a Forum?

thanks
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/load-data-after-click-on-container-tp5877999p5879724.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to