Hi Mike,

it must be "new constructor", not just "constructor()".

Also, in general, you must also define a width/height for an object. So 
maybe it's a good idea to first store the instance inside a local 
variable before add it to the parent widget.

BTW: If you don't need any auto-sizing for the HTML, the best object to 
use is HtmlEmbed.

Cheers,

Sebastian



Mike Crowe schrieb:
> Hi folks,
> 
> I want to add a division to a TabPane, and then load that page with
> HTML via ajax.  I'm trying to do the first step now.  I can create the
> tabs fine, but I can't figure out how to put an HTML inside the tab.
> Here's what I'm currently trying:
> 
> var tabDay = new qx.ui.pageview.tabview.TabViewButton("Day");
> var paneDay = new qx.ui.pageview.tabview.TabViewPane(tabDay);
> tabView.getBar().add(tabDay);
> tabView.getPane().add(paneDay);
> // this doesn't work
> var day = qx.ui.embed.HtmlEmbed("<div id='daycode'></div>");
> tabView.getPane().add(day);
> 
> I've tried:
> var day = qx.ui.basic.Atom("<div id='daycode'></div>");
> paneDay.add(day);
> 
> as well as Inline, NodeEmbed, etc.  I keep getting a javascript error:
> this._applyInitialAppearance is not a function
> 
> Can I get some pointers?
> TIA
> Mike
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to