Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}
Brought to you by:
ecker,
martinwittemann
From: b a <ran...@gm...> - 2010-09-30 18:26:41
|
"app_name": { .... "jobs": { "common": { "settings" : { <stuff I need?> } } } } On 9/30/10, b a <ran...@gm...> wrote: > so how does my config.json need to look ? > > On 9/30/10, Guilherme Aiolfi <gr...@gm...> wrote: >> Are you sure that you are calling "this.base(arguments); " in your main >> method? >> >> And your keys should be inside the "jobs > common > settings" entry in >> your >> config.json. >> >> On Thu, Sep 30, 2010 at 2:14 PM, b a <ran...@gm...> wrote: >> >>> so is there any way for me to get at runtime things from config.json ? >>> >>> On 9/30/10, b a <ran...@gm...> wrote: >>> > actually now I put some alerts and realized that even in the code >>> sections >>> > that >>> > I thought I was getting config values from qx.core.Setting , I wasn't. >>> > I am getting undefined on >>> > qx.core.Setting.get("some_key_that_exists_in_config.json"); >>> > and getting undefined on >>> > qx.core.Setting.some_key_that_exists_in_config.json >>> > ... >>> > >>> > >>> > On 9/30/10, b a <ran...@gm...> wrote: >>> >> Hi, >>> >> >>> >> I have a native Qooxdoo app which I wrote and I noticed that in main >>> >> {} >>> >> I don't have access to qx.core.Setting(which from what I've seen >>> >> exposes the contents of config.json). >>> >> >>> >> I need to have access to qx.core.Setting, so I want to move part of >>> >> my >>> >> code from main {} to some listener on some event exactly after main >>> >> {} >>> >> is run. >>> >> >>> >> What event should I listen to ? >>> >> Is there any other way I can get the qx.coreSetting in main {} ? >>> >> >>> >> Any suggestions are welcome >>> >> >>> >> Thanks >>> >> >>> > >>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> qoo...@li... >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >> > |