Re: [qooxdoo-devel] Developing an application

2010-07-26 Thread Daniel Wagner
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" :

Re: [qooxdoo-devel] Developing an application

2010-07-23 Thread Ricardo Ferreira
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

Re: [qooxdoo-devel] Developing an application

2010-07-22 Thread Daniel Wagner
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 Ferre

Re: [qooxdoo-devel] Developing an application

2010-07-22 Thread Ricardo Ferreira
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 agai

Re: [qooxdoo-devel] Developing an application

2010-07-20 Thread Daniel Wagner
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 > proble

Re: [qooxdoo-devel] Developing an application

2010-07-20 Thread Nick Glencross
Hello, welcome to the group. (I don't know if you directly extended qx.core.object, but if you have you might find it better to extend a container, such as a Composite/VBox) To answer your question, you probably want to do this by creating an event on your Login box, and have the Main Window atta

[qooxdoo-devel] Developing an application

2010-07-20 Thread Ricardo Ferreira
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 mainwi