Re: [qooxdoo-devel] How to set Scroll container width and height to 100%

2012-04-11 Thread Scott Chapman
This is not working. qx.Class.define("kiosk_portal.TabGroupTask", { extend : qx.ui.tabview.Page, construct : function() { this.base(arguments, 'GROUP-TASK'); this.setLayout(new qx.ui.layout.Canvas()); this.__Scroller = new qx.ui.container.Scroll(); this.__groupTasks

[qooxdoo-devel] TreeVirtual vs VirtualTree

2012-04-11 Thread FD
Hi, What are the differences between the TreeVirtual and the VirtualTree? I'm creating a tree dynamically: each time a branch is opened, a branch/leaf is renamed, deleted, moved a call to a json server is made to obtain infos or check the rights. In my case which one is the best? If VirtualTree i

Re: [qooxdoo-devel] Reusing server-side code in the client-side && how to get rid of the require in nodejs? +suggestion

2012-04-11 Thread thron7
On 04/11/2012 03:04 PM, totty wrote: > >> What do you mean? Can you give an example of these two uses? > "relative from where I need them so I have to take care that it's the right > way to require them every time." > here I mean: if I have a app structure like this: > root > |-file3.js<-- I'm

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
Hi What's happened here is that, you need to be logged to acces the resource. The way the redirection is made, don't depend on me. It's a functionality of our backend server. Once your your login is succesfully, the images could be requested correctly. For the error comming from qooxdoo, i'm sor

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread thron7
Some observations: 1. I asked you one or two hours back if you get any relevant messages when running in source; you replied no, only a browser error, nothing from qooxdoo. Now I see you get multiple error messages from qx.ui.basic.Image ... 2. I tried to retrieved one of the image URLs in que

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
Thanks for the time you took to answer me For the rendering, the place is left blank. The exact message is this 000385 qx.core.Init: Load runtime: 385ms ifsr.js:30778002244 qx.core.Init: Main runtime: 1857ms ifsr.js:30778002358 qx.core.Init: Finalize runtime: 114ms https://testdev.chaire-logiciel

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread thron7
Ok, Daniel and I found out that the image url ist just set as a background url on the style of the containing element. After that, it's just the browser reacting on the style of a DOM element. So if that times out, it's outside of the qooxdoo run time. Is the image rendered, in spite of the err

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
I didn't get additionnal message Le 11 avril 2012 09:51, thron7 a écrit : > > > On 04/11/2012 02:57 PM, Benjamin Dreux wrote: >> I don't get any more luck with the source version of the app. >> I don't have a more detailed message > > Does that mean you didn't get the error in the source version?

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread thron7
On 04/11/2012 02:57 PM, Benjamin Dreux wrote: > I don't get any more luck with the source version of the app. > I don't have a more detailed message Does that mean you didn't get the error in the source version? Or did you get it, but there was no additional console message, e.g. from the Imag

Re: [qooxdoo-devel] Reusing server-side code in the client-side && how to get rid of the require in nodejs? +suggestion

2012-04-11 Thread totty
>> - I'm using "require" to get classes available to the program, but are >Is this the Node.js' built-in 'require'?! yes. require('./this/that'); >> relative from where I need them so I have to take care that it's the >> right >> way to require them every time. I have to repeat things: on

Re: [qooxdoo-devel] Converting LocalizedString object to a string

2012-04-11 Thread Daniel Wagner
Hi Omri, LocalizedString inherits a toString method, that should be what you're looking for. Regards, Daniel On 04/11/2012 02:29 PM, omrihar wrote: > Hi everyone, > > I have the following situation: > > var list = new qx.ui.form.VirtualSelectBox(); > var data = [this.tr("Suggestion"), this.tr("

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
I don't get any more luck with the source version of the app. I don't have a more detailed message Le 11 avril 2012 08:48, Benjamin Dreux a écrit : > Hi > I'm using qooxdoo 1.6, the stable last version > I'm getting the error from the browser, which says some request cannot > be retreived. > The

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
Hi I'm using qooxdoo 1.6, the stable last version I'm getting the error from the browser, which says some request cannot be retreived. The assets which cannot be retreived is random. The image retrived base on widget like atom or buttons(the icon property). I didn't try the source version. I'll gi

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread thron7
Your information is too vague. Which qooxdoo version are you using? Which exact error do you get, and from whom (qooxdoo, browser, backend, )? Which assets cause the timeout? Is it always the same (set of) assets, or are they randomly different? Which part of the application loads the assets?

[qooxdoo-devel] Converting LocalizedString object to a string

2012-04-11 Thread omrihar
Hi everyone, I have the following situation: var list = new qx.ui.form.VirtualSelectBox(); var data = [this.tr("Suggestion"), this.tr("Problem")]; var model = qx.marshal.Json.createModel(data); list.setModel(model); now, when I want to get the selected value to send to the server, using list.get

Re: [qooxdoo-devel] Timeout and slowdown

2012-04-11 Thread Benjamin Dreux
Hi After a while the error reappears. As far as i can tell, the error appears when the cache is empty. Once the application is loaded a first time, with a loading error, the next load time execute without error Do you have idea, when i can find my error. I'm using chrome 18. When using firefox o

Re: [qooxdoo-devel] Progressbar color

2012-04-11 Thread Benjamin Dreux
ignore this message , it is meant for another thread Le 11 avril 2012 08:03, Benjamin Dreux a écrit : > Hi > After a while the error reappears. > > As far as i can tell, the error appears when the cache is empty. > Once the application is loaded a first time, with a loading error, the > next load

Re: [qooxdoo-devel] Progressbar color

2012-04-11 Thread Benjamin Dreux
Hi After a while the error reappears. As far as i can tell, the error appears when the cache is empty. Once the application is loaded a first time, with a loading error, the next load time execute without error Do you have idea, when i can find my error. I'm using chrome 18. When using firefox o

qooxdoo-devel@lists.sourceforge.net

2012-04-11 Thread Michael_
Sorry, my example uses qx.ui.tree.VirtualTree I did'nt realize that you use another Tree. I also agree with panyasan: It's far better to use qx.ui.tree.VirtualTree. it feels a little "strange" first time, but after you get the Idea, it's really simpel and easy to use. (You work only with the model

Re: [qooxdoo-devel] Very slow qx.ui.table.cellrenderer.Date for null values

2012-04-11 Thread fprijate
Hi Sorry , it was my error. Thanks Franček -- View this message in context: http://qooxdoo.678.n2.nabble.com/Re-Very-slow-qx-ui-table-cellrenderer-Date-for-null-values-tp7455730p7455761.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Very slow qx.ui.table.cellrenderer.Date for null values

2012-04-11 Thread thron7
It's not obvious. Can you provide a small Playground example so we can profile the issue?! T. On 04/11/2012 12:51 PM, fprijate wrote: > Hi > > I have a table with three data columns (invoice date, due date, payment > date) > One off them have mostly null values. (Not paid invoices). > > With :

[qooxdoo-devel] Very slow qx.ui.table.cellrenderer.Date for null values

2012-04-11 Thread fprijate
Hi I have a table with three data columns (invoice date, due date, payment date) One off them have mostly null values. (Not paid invoices). With : var crd = new qx.ui.table.cellrenderer.Date(); crd.setDateFormat(new qx.util.format.DateFormat("dd.MM.")); this.tcm.setDataCellRenderer(i

Re: [qooxdoo-devel] Reading JSON files

2012-04-11 Thread thron7
You're calling a .toArray method on a model. But a model is just a qx.core.Object instance, which have no .toArray method. T. On 04/11/2012 03:00 AM, Harlan H. Bloom wrote: > Thank You all for your help! > > Here is my data file: > [ > {"s": "A"}, > {"s": "B"}, > {"s": "C"}, > {"s": "D"}

Re: [qooxdoo-devel] How to set Scroll container width and height to 100%

2012-04-11 Thread thron7
Use e.g. a Canvas layout for the tab page, and specify 'edge' when adding the scroll container to it, e.g. tab_page.setLayout(new qx.ui.layout.Canvas()); tab_page.add(myScrollContainer, {edge:0}) T. On 04/11/2012 12:09 AM, Scott Chapman wrote: > I want to put a Scroll container in a Tab a

[qooxdoo-devel] Need help with qx.ui.mobile.container.Scroll

2012-04-11 Thread cyrusmith
Hi, guys! Can you show me working example of using qx.ui.mobile.container.Scroll? I've spent a few hours trying to make it work but was not succeeded. Api examplewas not helpful for me. The actual task I'm interested in is to create mobile page, place a lot of arbitrary widgets on it and be able t

qooxdoo-devel@lists.sourceforge.net

2012-04-11 Thread panyasan
The code for the extended TreeVirtual is here: http://qooxdo-contrib.svn.sf.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/qcl/trunk/source/class/qcl/ui/treevirtual/DragDropTree.js?revision=21225&view=markup -- View this message in context: http://qooxdoo.678.n2.nabble.com/Tree-Virtual-Drag-

Re: [qooxdoo-devel] Reusing server-side code in the client-side && how to get rid of the require in nodejs? +suggestion

2012-04-11 Thread thron7
On 04/10/2012 03:44 PM, totty wrote: > - I'm using "require" to get classes available to the program, but are Is this the Node.js' built-in 'require'?! > relative from where I need them so I have to take care that it's the right > way to require them every time. I have to repeat things: once

qooxdoo-devel@lists.sourceforge.net

2012-04-11 Thread panyasan
Sorry for the string of posts ... reading the source I start to remember what was the problem. If you look at the source of qcl.ui.treevirtual.DragDropTree (link in previous email), line 235seq: At that time, "real" drag & drop was only possible by patching the qx codebase, and compiling with "o

qooxdoo-devel@lists.sourceforge.net

2012-04-11 Thread panyasan
Hi, have a look at the qcl/dragdroptree contrib: http://qooxdo-contrib.svn.sf.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/qcl/trunk/demo/dragdroptree/ I implemented drag&drop in the VirtualTree long time ago - I remember there was a bug related to finding the drop target, but it never got r