sorry. The drawer *doesnt* receive events unless I add a button to the
NavigationPage (to which it is attached):

        var page1 = new qx.ui.mobile.page.NavigationPage();
         * page1.add(new qx.ui.mobile.form.Button("page 1 button"));* ----> 
This is
a mock button, just to receive the events.
        var drawer = new qx.ui.mobile.container.Drawer(page1);

        drawer.setOrientation("right");


        page1.setTitle("Page 1");
        page1.addListener("initialize", function()
        {
            drawer.show();
            drawer.add(b); ---> thats the button i need. If the mock-button is 
not
there, this button doesnt receive its events.
        },this);
        var b = new qx.ui.mobile.form.Button("direct");
        b.addListener("tap", function(){
            alert("direct");
        }, this);
        var manager = new qx.ui.mobile.page.Manager(false);
        manager.addDetail([
          page1,
        ]);

        page1.show();




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/NavigationPage-inside-a-drawer-doesnt-receive-events-tp7585536p7585553.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to