Re: [qooxdoo-devel] date format bug?

2011-09-16 Thread smisobnline
Hello, sorry i have only have time now to test it i rename your class to Date2 and use it like this var format = new myapp.system.ui.table.cellrenderer.Date2(); format.setDateFormat(new qx.util.format.DateFormat("MM.")); tcm.setDataCell

[qooxdoo-devel] How to reference a image in another project?

2011-09-16 Thread Simon White
Hi I have a project called "KardPoll" and another one called "dcbase". I would like to use an image from the "dcbase" project in the "KardPoll" project but using "dcbase/myimage" does not work and I have the appropriate #asset(dcbase/myimage) in the KardPoll class. So how to I properly includ

[qooxdoo-devel] How to bind a text Field to a model?

2011-09-16 Thread Simon White
Hi I have a virtual list bound to a store and it displays the data correctly. Now in typical master/detail fashion I would like to show the details of the selected item. I am wondering how best to do this. Do I bind the textfield to field in the model or do I add a listener to the "change" e

Re: [qooxdoo-devel] How do I show a combination of fields from a store in a List?

2011-09-16 Thread Simon White
Hi The following seems to work is it "Best Practice"? this.__navView.__lstView.setLabelOptions({converter: function(data,model) {return data+' '+model.getID1();}}); Simon On 16/09/2011 3:40 PM, Simon White wrote: > Hi > > When I simply use a single field for the labelPath everything works ju

[qooxdoo-devel] How do I show a combination of fields from a store in a List?

2011-09-16 Thread Simon White
Hi When I simply use a single field for the labelPath everything works just fine. I now need to know how to combine several fields for the label Path. I created a converter function which I hoped would combine the "ACCTNO" and "ID1" fields as the test to show in the list's label. However I a

Re: [qooxdoo-devel] How do I fixed a Virtual List Binding Error?

2011-09-16 Thread Simon White
Hi I now have discovered the missing piece. Using a Virtual List you do not bind to a controller you bind to the list itself. So my code now looks like this: this.__dbfARMaster.bind("model.ARMaster",this.__navView.__lstView,"model") and everything works just fine. I think this should be docu

Re: [qooxdoo-devel] Make API understand new types

2011-09-16 Thread Seldaiendil D. Flourite
Thanks Daniel, But do you know if is there a way to force the Generator to read the MVC classes as simple classes? Once again, thanks --- Seldaiendil 2011/9/16 Daniel Wagner > Hi, > > the Generator uses a regex (_codeExpr in > tool/pylib/generator/resource/Library.py) to find the names of c

Re: [qooxdoo-devel] Tabiew Page and Icon

2011-09-16 Thread Jeroen Smit
Hi, I ran into the same issue when adding an icon and runtime removing the icon again. I fixed it in my own code by using the following statements: - page.getChildControl("button").setShow("label"); - page.getChildControl("button").setShow("both"); when adding/removing the icon. Maybe this helps

Re: [qooxdoo-devel] Tabiew Page and Icon

2011-09-16 Thread Christian Hagendorn
Hi Benjamin, your description sounds like a bug, but could you please provide a short playground example. Cheers, Chris Am 16.09.2011 13:59, schrieb Benjamin Dreux: > Hi > > It seems to me that there is an issue with the tab view Pages. > When creating a new Page, with an empty icon string, the

Re: [qooxdoo-devel] Popup content menu disappears immediately after it appears

2011-09-16 Thread telekosmos
Hi I've observed a similar behaviour with the table menu. At the beginning I thought it was a issue in my code, but then I understood it could be because I was using a different theme. I guess both are similar issues and solving the first one you could solve the table menu issue. Cheers w i l l

[qooxdoo-devel] Tabiew Page and Icon

2011-09-16 Thread Benjamin Dreux
Hi It seems to me that there is an issue with the tab view Pages. When creating a new Page, with an empty icon string, the page title is centered. Then if i modify the icon path, the title and the icon are centered, which is perfectly good with me And finnaly if i decided to reset the icon path to

Re: [qooxdoo-devel] Make API understand new types

2011-09-16 Thread Daniel Wagner
Hi, the Generator uses a regex (_codeExpr in tool/pylib/generator/resource/Library.py) to find the names of code items. myapp.Controller.define won't match, so unless I'm missing something, your MVC classes won't be added to the application's dependencies. Regards, Daniel On 09/16/2011 10:53

Re: [qooxdoo-devel] How to get started with qxoo and Node.js

2011-09-16 Thread Tino Butz
Hi, First you should install npm: http://npmjs.org/ To install qxoo just use the following command: npm install qooxdoo As an alternative you could add qooxdoo as a project dependency in the package.json file. "npm install -d" will install all dependencies. (or use "npm update -d" to update

Re: [qooxdoo-devel] qx.core.ObjectRegistry.toHashCode is slow

2011-09-16 Thread Martin Wittemann
Hello Dave, Thanks for your input. We took some time to check that and we can not confirm your findings. > FYI to the devs: this method is now consuming a nontrivial amount of time > under IE8. If I create 180 objects in IE8, the profiler shows toHashCode > using 1200 ms. That would be pretty b

Re: [qooxdoo-devel] Can't migrate from qooxdoo v1.4 to 1.5 or current svn: i.body is null: Resolved

2011-09-16 Thread thron7
Then please open a bug for it (Marcel, please add your observations as comments there). If you can narrow it down to some specifics of the application that are triggers (size, specific API's used, ...), that would be awesome. T. On 09/15/2011 03:03 PM, Robert Nimax wrote: Hi all, I´ve been a

[qooxdoo-devel] Make API understand new types

2011-09-16 Thread Seldaiendil D. Flourite
Hi all! I'm working on a MVC model over qooxdoo and I would like to build them like this: myapp.Controller.define('myapp.bundle.Controller', { construct: function() { ... }, destruct: function() { ... }, events: { ... }, properties: { ... }, members: { ... }, listeners:

Re: [qooxdoo-devel] How to get started with qxoo and Node.js

2011-09-16 Thread franck34
I'm using it. Here my directory structure (for development): /home/myprojects/nodeserver /home/myprojects/httpdocs /home/myprojects/httpdocs/qooxdoo-1.5.sdk /home/myprojects/httpdocs/source /home/myprojects/httpdocs/build In nodeserver directory i have server.js, which is the node server. Code b

Re: [qooxdoo-devel] JSON additional parameters and list selection

2011-09-16 Thread Christian Hagendorn
Hi, the selection from the list returns a array with selected ListItems and the ListItem has property "model" where you can get the instance from the connected item from the sore item. Cheers, Chris Am 16.09.2011 02:35, schrieb ISE: > My questions may be quite strange, I am totally newbie in q

Re: [qooxdoo-devel] How do I fixed a Virtual List Binding Error?

2011-09-16 Thread Christian Hagendorn
Hi Simon, yes, you can't use the qx.data.controller.List with the qx.ui.list.List because the virtual list does the data binding feature by default. Here you can fined links to all available demos [1] and the grouping demo uses a store to get the persons. If you have further questions pleas

[qooxdoo-devel] JSON additional parameters and list selection

2011-09-16 Thread ISE
My questions may be quite strange, I am totally newbie in qooxdoo. I have some problems with JSON. So, for example I have JSON with items like user name and user rights in the system. JSON store is used for the list controller, but how to access another data of the JSON that is being connected to