This is a completely different topic and should normally be handled with 
a different subject, too.

setHtmlProperty should work perfectly. However you must be sure that the 
element is already written to the document. This is not the case 
directly after you append it. The best is maybe to add an "appear" event 
listener to your tabView or tabPage for example.

Cheers,

Sebastian


Mike Crowe schrieb:
> That did it,  However, I apparently am not getting the division as I expect.
> 
> I'm trying to update the contents of my TabPane with HTML from the host.
> 
> I have the ajax working, because I can insert:
> <div id='daycode'></div>
> 
> and I get the HTML I expect.  What I want, is for the code to be
> inserted into the TabPane.
> 
> I've also tried:
> pageDay.setHtmlProperty('id','daycode');
> and
> paneDay.setHtmlAttribute('id','daycode');
> 
> 
> On 9/10/06, Sebastian Werner <[EMAIL PROTECTED]> wrote:
>> 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
>>
> 
> -------------------------------------------------------------------------
> 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