|
Hi Mike, As a workaround you could use the <qx.client.builder.Script> tag to send the actual JS commands to create your tab view to QxBuilder. I am currently testing this method to create a ButtonView and it seems to work (I have attached the XML document). HTH, John Mike Crowe wrote:
-- ______________________________________________ John Comerford Option Systems Pty Ltd 1st Floor 184-186 Glenferrie Road Malvern VIC 3144 Australia 03 9500 1466 ______________________________________________ *************************************************** The information in this e-mail is confidential and may be legally privileged. It may not represent the views of Option Systems Pty Ltd. It is intended solely for the addressees. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any unauthorised recipient should advise the sender immediately of the error in transmission. *************************************************** |
<qx.client.builder.Container>
<qx.client.builder.Script>
var doc = qx.ui.core.ClientDocument.getInstance();
var bs = new qx.ui.pageview.buttonview.ButtonView;
bs.setTop(0);
bs.setLeft(0);
bs.setRight(0);
bs.setBottom(0);
var bsb1 = new qx.ui.pageview.buttonview.ButtonViewButton("Test1", "icon/32/trashcan-empty.png");
bs.getBar().add( bsb1);var p1 = new qx.ui.pageview.buttonview.ButtonViewPage(bsb1);
bs.getPane().add(p1);
var bsb2 = new qx.ui.pageview.buttonview.ButtonViewButton("Test2", "icon/32/trashcan-empty.png");
bs.getBar().add( bsb2);var p2 = new qx.ui.pageview.buttonview.ButtonViewPage(bsb2);
bs.getPane().add(p2);
var bsb3 = new qx.ui.pageview.buttonview.ButtonViewButton("Test3", "icon/32/trashcan-empty.png");
bs.getBar().add( bsb3);var p3 = new qx.ui.pageview.buttonview.ButtonViewPage(bsb3);
bs.getPane().add(p3);
var bsb4 = new qx.ui.pageview.buttonview.ButtonViewButton("Test4", "icon/32/trashcan-empty.png");
bs.getBar().add( bsb4);var p4 = new qx.ui.pageview.buttonview.ButtonViewPage(bsb4);
bs.getPane().add(p4);
bsb1.addEventListener("click", function(e) {
ProcessViewTables("Test1",p1);
});
bsb2.addEventListener("click", function(e) {
ProcessViewTables("Test2",p2);
});
bsb3.addEventListener("click", function(e) {
ProcessViewTables("Test4",p3);
});
bsb4.addEventListener("click", function(e) {
ProcessViewTables("Test4",p4);
});
Session.MainFrame.add(bs);
</qx.client.builder.Script>
</qx.client.builder.Container>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
