Charles SALMON schrieb:
> Hello,
> 
> I am building my own application based on Qooxdoo.
> To build my app, I am using the generator with
>  --script-input $(FRAMEWORK)/source/class \
>  --source-script-path ../$(FRAMEWORK)/source/class \
>  --script-input source/class \
>  --source-script-path class \
>  --generate-source-script \
>  $(INCLUDE) $(COMPILER) \
> (..)
> where $(FRAMEWORK) points to Qooxdoo and $(INCLUDE) = --include 
> $(APPCLASS) --include application.QooxdooPatch --include 
> hlight.ui.form.* --include log
> 
> My class 'hlight.ui.form.FormComboBox' instantiate a ComboBox.
> But, when trying to pop-up the comboBox list, I get an error:
> 'qx.manager.object.MenuManager ' has no properties.
> 
> That is because the source file 'MenuManager' is not included into the 
> script output.
> Doing a '#require(qx.manager.object.MenuManager)' in my class can solve 
> the problem.
> 
> But I dont understand why this file is not automatically included in my 
> output script.
> By looking 'Popup.js', it appears that hints are:
> #module(ui_popup)
> #optional(qx.manager.object.MenuManager)
> 
> Why 'qx.manager.object.MenuManager' is set as 'optional' and not as 
> 'required' ?

Because we don't want that the inclusion of the Popup class leads the 
the inclusion of all menu classes.

Do you use menus in your application? Maybe you can report where exactly 
the error occours. Is it inside a qooxdoo class?

> 
> By the way, is there a way, when using generator, to include ALL the 
> qooxdoo classes by using '--include' switch ?

Yes, just --include qx.* for example. But this isn't quite optimal 
because you also include non-used classes with this statement.

Cheers,

Sebastian

> 
> Thanks,
> Charles.
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to