Thank You to both German and Derrell, that line got it to work! 

Harlan... 

----- Original Message ----- 
From: "Germán Pablo Del Tedesco" <[email protected]> 
To: "Harlan H. Bloom" <[email protected]>, "qooxdoo Development" 
<[email protected]> 
Sent: Sunday, February 5, 2012 6:07:18 PM 
Subject: Re: [qooxdoo-devel] Define forms inside TabViews 

Hello! 


After " var layout = new qx.ui.layout.Basic(); " you need to assign the layout 
to the tab: " this.setLayout(layout); ". Or, in one line " this.setLayout(new 
qx.ui.layout.Basic()); ". 

Regards, 
Germán. 


2012/2/5 Harlan H. Bloom < [email protected] > 





Hello, 
This is continuing on with a different email thread. I need to create forms 
inside each of the TabView pages. Here is the relevant section of code that I 
have so far: 


qx.Class.define("h4.Twitter", 
{ 
extend : qx.ui.tabview.Page, 


construct : function() 
{ 
this.base(arguments, "Twitter"); 


// hide the window buttons 
this.setShowCloseButton(false); 


var layout = new qx.ui.layout.Basic(); 
// create the form 
var form = new qx.ui.form.Form(); 


// add the first headline 
form.addGroupHeader("Registration"); 

this.add(new qx.ui.form.renderer.Single(form)); 


// adjust size 
this.setWidth(250); 
this.setHeight(300); 
} 
}); 


Here is the output from the Log window: 

1133913 qx.application.Standalone[517-0] : Starting application 'Custom Code 
(modified)' ... 
1133917 qx.application.Standalone[517-0] : Successfully started. 
1134004 Error in the 'Layout' queue:Error: At least one child in control 
h4.Twitter[1395-0] requires a layout, but no one was defined! 
1134012 Error in the 'Layout' queue:Error: At least one child in control 
h4.Twitter[1395-0] requires a layout, but no one was defined! 


The "Twitter" tab shows up, but it is empty. 


Any ideas or suggestions would be greatly appreciated! 


Thanks, 


Harlan... 


------------------------------------------------------------------------------ 
Try before you buy = See our experts in action! 
The most comprehensive online learning library for Microsoft developers 
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, 
Metro Style Apps, more. Free future releases when you subscribe now! 
http://p.sf.net/sfu/learndevnow-dev2 
_______________________________________________ 
qooxdoo-devel mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel 




-- 


Germán Pablo Del Tedesco 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to