Hi,

the problem is in your MainWindow implementation. The constructor 
(construct) is added to the member section, but the constructor should 
on the same level like members [1]. In your implementation the 
constructor is never called and the default constructor is used. To 
solve your issue move the constructor to the same level as members:
http://tinyurl.com/4yytwgv

Cheers,
Chris

[1] http://manual.qooxdoo.org/current/pages/core/class_quickref.html

Am 19.04.2011 18:45, schrieb Dário Abdulrehman:
> Thanks for the reply but I still have the same problem.
> I tried to make it similar to your playground example but it still
> does not show the menu bar.
> This is my Application.js http://paste.ly/6mzr
> And this is the MainWindow.js http://paste.ly/6mzs
>
> Thanks.
>
> On Tue, Apr 19, 2011 at 5:27 PM, Christian Hagendorn
> <[email protected]>  wrote:
>> Hi,
>>
>> yes, I don't know what exactly doesn't work in your example. Maybe you
>> get a script error and your code is not executed. I created a short
>> Playground example to show how you can add a ToolBar to a Window:
>> http://tinyurl.com/3e6r9my
>>
>> Cheers,
>> Chris
>>
>> Am 19.04.2011 18:12, schrieb dabd:
>>> Hi,
>>>
>>> I'm trying to create a menubar inside a window but it does not appear.  Is
>>> this possible to do?
>>>
>>> thx
>>>
>>> --
>>> View this message in context: 
>>> http://qooxdoo.678.n2.nabble.com/create-a-menubar-inside-window-tp6287841p6287841.html
>>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>>
>>> ------------------------------------------------------------------------------
>>> Benefiting from Server Virtualization: Beyond Initial Workload
>>> Consolidation -- Increasing the use of server virtualization is a top
>>> priority.Virtualization can reduce costs, simplify management, and improve
>>> application availability and disaster protection. Learn more about boosting
>>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> ------------------------------------------------------------------------------
>> Benefiting from Server Virtualization: Beyond Initial Workload
>> Consolidation -- Increasing the use of server virtualization is a top
>> priority.Virtualization can reduce costs, simplify management, and improve
>> application availability and disaster protection. Learn more about boosting
>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to