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:
I get the feeling that it is not widely used.  Is anybody actually using
Builder() in a serious way ?  Does it support all widgets ?   Is there
some trick/secret that I'm missing ?
    

That's starting to be my feeling too.  Prior to the namespace
revision, there was a QxBuilder project, which seems to focus on the
non namespaces version solely.

FWIW, I'm very pleased with Builder().  However, I now am creating my
XML with my own PHP routines, so my constructions look like:

echo Builder('AppointmentForm',

	TextField(	$r0,$c0,	'Subject:',	$r0,$c1, 'strSubject', 500, 35).
	TextField(	$r2,$c0,	'Location:',	$r2,$c1, 'strLocation', 500).
	DateTime(	$r3,$c0,75, 'From:', 'datetimeFrom',
'fromCal','fromHourList',$hourList).
	DateTime(	$r3,$c4,75, 'To:', 'datetimeTo', 'toCal','toHourList',$hourList).
	CheckBox(	$r3,$c7,	'boolAllDay','All Day').
	CheckBox(	$r4,$c7,	'boolPrivate','Private').
	CheckBox(	$r4,$c0,	'boolReminder','Reminder',
		EventListener( "type='changeChecked'
args='event'","reminderList.setEnabled( event.getData() );")
	).
	ComboBox(	$r4,$c1, 'reminderList', 200, 18, $reminderList ).	
	Atom(		$r4,$c4, '', 'Duration:').
	Atom(		$r4,$c5, 'labelDuration','nullDuration').
	TextField(	$r5,$c0, 'Category:',$r5,$c1, 'strCategory', 200).
	Atom(		$r6,$c0, '','Generated By:').
	Atom(		$r5,$c1, 'labelGenerated', "",'nullGenerated').
	Atom(		$r5,$c4, "",'Creation Time:').
	Atom(		$r5,$c5, 'labelCreation','null').
	TextArea(	$r6,$c0, 'textDescription',573,240)
);

This code is simple, if you are interested.

In looking at the Builder.js, it's a little above my head.  However, I
think the TabPane could be added fairly easily.  However, I'm not sure
adding Layout's could.  Maybe somebody else could point out of that
would be possible.

Mike

-------------------------------------------------------------------------
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

  


-- 
______________________________________________
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

Reply via email to