Hello all

I'm new to qooxdoo and struggling with a (hopefully) simple problem. I'd
like to add custom settings to the config.json file and access these
settings from within my classes.

A simple example: I need a base URL for my server requests (since i'm trying
to develop a client-server app). I'd like to have some sort of a global
setting like: myapp.BaseUrl, which holds the base URL of the server.
Optimally, this setting would be different for source and "release" build.
I already tried "--use-setting" as generator flag, as it is described in the
documentation. This flag doesn't seem to be recognized however (i'm using
qooxdoo 0.8.1).

Is there a solution to this problem? Could somebody point me to a recent
documentation or post a example how i can add such custom settings and how i
can then access it from within my classes?
Any suggestion is appreciated. Thanks
-- 
View this message in context: 
http://n2.nabble.com/Adding-custom-settings-to-the-config-file--tp2003077p2003077.html
Sent from the qooxdoo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to