Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-03 Thread Ken MacDonald
Improved output - I did the generate with "-v" and got the following additional info: - Sorting 728 classes - Warning: Detected circular dependency between: qx.core.Assert and qx.Class - *currently explored dependency path: [u'webmenus.Application', u'qx.Class', u'qx.lang.Core', u'qx.core.

[qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-03 Thread Ken MacDonald
I'm getting the following error while trying to do a build following migrating my project from qooxdoo 1.1 -> 1.4.1... Is this something folks have seen? Known problem? Or is it something my code is causing? Suggestions welcome. - Sorting 728 classes ... - Warning: Detected

[qooxdoo-devel] Help with qooxdoo with php and mysql

2011-06-03 Thread Marcos Gonzalez
Hi everyone. Well I'm new with qooxdoo, so I want to know how to do a simple communication with a qooxdoo (with ajax and json prefrered) form to save data in mysql with php. So if you have any simple example with a form with php and mysql, please send me the example. Thanks.

Re: [qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread damiand
Thank you Benjamin, I changed my code, according to your sample, but the problem remains. In the playground the following: var rbg = new qx.ui.form.RadioButtonGroup(); rbg.getRadioGroup().setAllowEmptySelection(true); var rb1 = new qx.ui.form.RadioButton("Yes"); rb1.setModel(qx.data.marshal.Json.

Re: [qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread Benjamin Dreux
Hi Welcome in the list. Here is an exemple of mine: it could be helping: function(){ var sexRadioButtonGroup = new qx.ui.form.RadioButtonGroup(); sexRadioButtonGroup.setLayout(new qx.ui.layout.HBox(5)); var femaleItem = new qx.ui.form.RadioButton(this.tr("female")); femaleItem.setModel

Re: [qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Benjamin Dreux
Forget about the last explanation, In fact the correct solution is to derive the abstract object from qx.core.object Regards 2011/6/3 Benjamin Dreux > Sorry > in fact i had an abstract class with statics memebers. > On of the static memeber create return an object from a type derived from > th

Re: [qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Benjamin Dreux
Sorry in fact i had an abstract class with statics memebers. On of the static memeber create return an object from a type derived from the first class. And when i went to see,in the concreate object , the members defined in the abstract class, the memebers just not exist. The problem was that i

Re: [qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Marc Puts
Hi Benjamin, Yes, this is perfectly possible. Otherwise there wouldn't be much use for creating abstract classes. :) Marc On 06/03/2011 03:46 PM, Benjamin Dreux wrote: > Hi > > Is it possible to have a key "members" in an abstract class (class A > with member : m() ). > Then derive this class

Re: [qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Derrell Lipman
On Fri, Jun 3, 2011 at 09:46, Benjamin Dreux wrote: > Hi > > Is it possible to have a key "members" in an abstract class (class A with > member : m() ). > Then derive this class (new class B), and then use the members defined in > the abstract class ( B.m() ) ?? > Absolutely. That's a very commo

Re: [qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Benjamin Dreux
Sorry for this question, i've found an exemple here : https://github.com/qooxdoo/qooxdoo/blob/master/qooxdoo/framework/source/class/qx/ui/layout/Abstract.js So yes it's possible. 2011/6/3 Benjamin Dreux > Hi > > Is it possible to have a key "members" in an abstract class (class A with > member

[qooxdoo-devel] Members key in abstract class config

2011-06-03 Thread Benjamin Dreux
Hi Is it possible to have a key "members" in an abstract class (class A with member : m() ). Then derive this class (new class B), and then use the members defined in the abstract class ( B.m() ) ?? Regards -- Benjamin Dreux Analyste-Programmeur Chaire de logiciel libre-Finance Social et solid

Re: [qooxdoo-devel] qooxdoo & CouchDB without "Middleware" / Datastores

2011-06-03 Thread Derrell Lipman
On Fri, Jun 3, 2011 at 09:35, panyasan wrote: > Hi Derrell, > > this sounds cool. Do you have any documentation on the contrib yet? > No external documentation yet. I plan to put together a nice demo of it and provide external documentation, but I haven't done that yet. It is well-documented int

Re: [qooxdoo-devel] qooxdoo & CouchDB without "Middleware" / Datastores

2011-06-03 Thread panyasan
Hi Derrell, this sounds cool. Do you have any documentation on the contrib yet? Cheers, C. -- View this message in context: http://qooxdoo.678.n2.nabble.com/qooxdoo-CouchDB-without-Middleware-Datastores-tp6434775p6435307.html Sent from the qooxdoo mailing list archive at Nabble.com. -

[qooxdoo-devel] Question about properties inheritance

2011-06-03 Thread Benjamin Dreux
I've read the page http://manual.qooxdoo.org/1.3/pages/core/defining_properties.html#working-with-inheritance And I'm wondering why do you decide to require the developer to specify that a properties is inherited. Why all properties are not inheritable by default ? As a java programmer this look st

[qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread damiand
Hello again, My first encounter with the qooxdoo community was very positive. Martin gave me two very helpful hints. Now, I'm facing the problem of setting the selection of a RadioButtonGroup to an initial value (taken by a database field, for example). I modified a bit, an example given by Marti

Re: [qooxdoo-devel] Object of qx.util.Json.parse()

2011-06-03 Thread comm1x
I already try to use .createModel() I dont know how to use it.. this code was maked by analog to your code. But it does not work. var jsonModel = qx.data.marshal.Json.createModel(text, true); //var addRow = new qx.data.Array(); getArrayObject.forEach(addRow, jsonModel); -- View this message in co

Re: [qooxdoo-devel] qooxdoo & CouchDB without "Middleware" / Datastores

2011-06-03 Thread thron7
There is a (rather dated) 'CouchDb' contrib: http://qooxdoo.org/contrib/legacyproject#couchdb It's probably much lighter than what you envision, but you might want to take a look. T. On 06/03/2011 12:44 PM, panyasan wrote: > Hi, this is a question mainly for Martin, but probably other people mi

Re: [qooxdoo-devel] qooxdoo & CouchDB without "Middleware" / Datastores

2011-06-03 Thread Derrell Lipman
On Fri, Jun 3, 2011 at 06:44, panyasan wrote: > > Not that I would have any time to actually engage in any of this, but I > have > been thinking alot about how a WebApp using qooxdoo could be written that > directly interfaces with a NoSql-Web-Database like CouchDB without the need > of a "middle

Re: [qooxdoo-devel] Playground and Themes

2011-06-03 Thread Tristan Koch
Hi John, you can configure and build your "own" playground to use the Simple theme. $ cd qooxdoo/application/playground $ ./generate.py source -m QXTHEME:qx.theme.Simple If you believe you found a bug in the Simple theme, write the code necessary to uncover the bug in your playground, then cop

[qooxdoo-devel] Playground and Themes

2011-06-03 Thread John Spackman
Hi, I think I have a bug with toolbar buttons that only shows up in the Simple theme ­ is there a way to switch the Playground to use a different theme? Regards John -- Simplify data backup and recovery for your virtual

Re: [qooxdoo-devel] Which Tree Widget?

2011-06-03 Thread Tristan Koch
Hi, VirtualTree will eventually replace TreeVirtual. However, we're not going to implement all features found in TreeVirtual. TreeVirtual inherits from Table. Since the Table has (some) virtual behavior, so has TreeVirtual. The VirtualTree on the other hand is based on the framework's virtual

[qooxdoo-devel] qooxdoo & CouchDB without "Middleware" / Datastores

2011-06-03 Thread panyasan
Hi, this is a question mainly for Martin, but probably other people might have an opinion: Not that I would have any time to actually engage in any of this, but I have been thinking alot about how a WebApp using qooxdoo could be written that directly interfaces with a NoSql-Web-Database like Couch

Re: [qooxdoo-devel] JSON to Simple

2011-06-03 Thread Tristan Koch
Hi, did Ana Rita's answer of our second question (Object of qx.util.Json.parse) also solve the issue you described in this thread? Am 02.06.2011 um 13:24 schrieb comm1x: > Hi all > I tried to search for the decision of the problem at a forum, but and > haven't found. I write the container which

Re: [qooxdoo-devel] Object of qx.util.Json.parse()

2011-06-03 Thread arsousa
Hi, I prefer to use qx.data.marshal.Json.createModel to turn json data into a model. Then you can get the array objects and put them into table rows: data = qx.data.marshal.Json.createModel(yourJson); getArrayObject.forEach( addRow, data ); tableDM.setData( rows ); var addRow = function (obj)

[qooxdoo-devel] JSON to Simple

2011-06-03 Thread comm1x
Hi all I tried to search for the decision of the problem at a forum, but and haven't found. I write the container which accepts JSON-data and set them in the table. Application.js: // var scenario = ([ {id: 1, name: "fs", after: [

[qooxdoo-devel] Which Tree Widget?

2011-06-03 Thread sbolin
Hello, I'm confused when trying to select which "Tree" widget to use within QooxDoo. VirtualTree seems to be the latest work-in-progress. Will TreeVirtual be deprecated in the future? VirtualTree seems to be missing features found in TreeVirtual, such as: 1) Turning "tree lines" on and off. 2) C