Hi Ricardo, you have to make sure the setting is defined in the job you're using to build your application. If you want to use the same setting for "source" and "build", you can use the "common" job which they both inherit from:
"jobs" : { "common" : { "settings" : { "myapp.database" : "database value" } } } You also need to use the "namespace.key" format. Regards, Daniel Ricardo Ferreira schrieb: > Hi Daniel, > > Can you give me an example? > > I tried to set the setting "databases" in config.json file in the root > folder, but it's always gives me an error saying: "setting "databases" > not found". > > I also tried to use the "define" function to see if the qooxdoo set it > automaticaly (so I can see how to set an setting) but didn't work either.. > > -- > Best Regards, > Ricardo Ferreira > > On 22-07-2010 17:33, Daniel Wagner wrote: >> Hi Ricardo, >> >> you can use the "settings" job key: >> >> http://manual.qooxdoo.org/current/pages/tool/generator_config_ref.html#settings >> >> Use qx.core.Setting.get() in your application to get the value. >> http://demo.qooxdoo.org/current/apiviewer/index.html#qx.core.Setting~get >> >> Regards, >> Daniel >> >> Ricardo Ferreira schrieb: >> >>> Hi, >>> >>> A big thanks for all of you! >>> >>> It's now working :) >>> >>> Just another question.. I need to create/use a configuration file to >>> store some configurations of the application. >>> I could just use the config.json, but how to retrieve the settings? >>> Like, default language or something..? >>> >>> Thanks once again! >>> >>> -- >>> Best Regards, >>> Ricardo Ferreira >>> >>> On 21-07-2010 07:55, Daniel Wagner wrote: >>> >>>> Hi Ricardo, >>>> >>>> the technique Nick described is also used in the (recently updated) form >>>> handling tutorial: >>>> >>>> http://qooxdoo.org/documentation/1.1/tutorial-part-4-1 >>>> >>>> >>>> Regards, >>>> Daniel >>>> >>>> Ricardo Ferreira schrieb: >>>> >>>> >>>>> Hi, >>>>> >>>>> I'm developing an application (or trying.. :P) in qooxdoo, but I have a >>>>> problem related to the "extend". >>>>> >>>>> I have built a login screen and another screen (let us call the >>>>> "mainwindow") with a toolbar, etc. Both extending the "qx.core.object". >>>>> Now, what I need to do is call the screen mainwindow when the login is >>>>> success. What's the best way for doing this? >>>>> >>>>> And another question, I would like to store some information in a cookie >>>>> or in a session. So when the user click in the "refresh" button it won't >>>>> need to do the login again if it already had logged in. >>>>> >>>>> Thanks in advance! >>>>> >>>>> -- >>>>> Best Regards, >>>>> Ricardo Ferreira >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> This SF.net email is sponsored by Sprint >>>>> What will you do first with EVO, the first 4G phone? >>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> qooxdoo-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Sprint >>>> What will you do first with EVO, the first 4G phone? >>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> qooxdoo-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>> >>>> >>>> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel