Hi Hortence,

Welcome to qooxdoo! :)

At first glance, I think the problem is on line 65 of your widget class.
I think it will work when you replace:
    mainContainer.show();
with:
    this._add(mainContainer);

Note the underscore; _add is a protected method. The are only a few 
widgets (Composite, Window, ...) that purposely expose their internals 
by making the add method a public one. Since you inherit from 
qx.ui.core.Widget (which is good), you need to use the protected add.

I guess you were already very close to finding this, seeing your comment 
on line 66.  :)


Regards,
Marc


On 06/15/2011 05:09 PM, hortence wrote:
> Hello everyone, I am new to Qooxdoo. I have been playing with Qooxdoo for
> about two weeks or so now following the tutorials and am now "striking out"
> on my own. I have successfully created a JSON web service and have
> interacted with it in Qooxdoo, thinking that would be the difficult part.
> Alas, for me it wasn't.
> To the question:
> I have created a standalone application. I have done a layout in the
> application.js file:  http://pastebin.com/Gus5MhDS Pastebin of Original
> Application.js
>
> Now I wish to move the layout into a separate file. I cannot seem to get it
> to display. I can see all of the debug events writing but the actual
> layout/containers are not displayed.
> http://pastebin.com/dvtApa51 Pastebin of Second Application.js  and
> corresponding  http://pastebin.com/Mw8NNRBU Pastebin of Widget .
>
> How do I go about doing this to display?
>
> I am guessing it is something simple that I am missing and that my C#
> mindset is throwing me off from finding the solution.
>
> Any help would be greatly appreciated. I see the wonderful potential of
> Qooxdoo and want to start realizing it as well.
>
> Thank you.
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Widget-not-displaying-tp6479234p6479234.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to