[qooxdoo-devel] Beginner's guide on qooxdoo

2011-12-29 Thread raffimd
Hi, I and Rajesh wrote a beginner's guide on qooxdoo. We hope that helps the developers to understand the RIA concepts of qooxdoo. We have explained the concepts including Testing, Internationalization, Themes, etc by applying it in application, Team Twitter, that we developed for this book. When

Re: [qooxdoo-devel] table auto-size?

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 15:56, Scott Chapman wrote: > Can my table with it's nicely loaded rows (thanks Derrell!) be made to > autosize width and height based on the row data when it changes? > There is no built-in functionality to resize the table based on the data. The resizing that is availab

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 15:52, Scott Chapman wrote: > >> That worked. Big thanks! > Great. > I'm not clear on the use of "delegates". Can I make a delegate do this as > in : > > qx.data.store.Json(null, delegate = foo()); > > ... and have foo do this? > I'm no expert on the data store functi

[qooxdoo-devel] table auto-size?

2011-12-29 Thread Scott Chapman
Can my table with it's nicely loaded rows (thanks Derrell!) be made to autosize width and height based on the row data when it changes? -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastruc

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Scott Chapman
On Thu, Dec 29, 2011 at 12:32 PM, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > > to the following, it should probably work: > > jsonFetcher.addListener( > "loaded", > function(e) > { > var tData = e.getData(); > var nativeData = [ ]; > tData.toArray().forEach( >

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 14:05, Scott Chapman wrote: > Top part of debug output. Even at 2 levels, it's a huge amount of output. > How much of it do you want? > > 019940 qx.dev.Debug: event data Array, length=7: > 0: Object > $$hash: 929

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Scott Chapman
This is from my other email address. > Ok, so apparently the internal components are qx.data.Arrays as well. > > Must you use the new Rest transport to retrieve your data? If you can use > the old transports, they won't do any of this qx.data.Array conversion > stuff... > > Let's see what you rea

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 13:39, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > > qx.dev.Debug.debugObject(e.getData().toArray()); > Hmmm... That may cause too much output. Replace it with this, which will limit to 3 levels of recursion: qx.dev.Debug.debugObject(e.getData().toArray

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 13:24, Scott Chapman wrote: > Here's my current code: > > > var __tableModel = new qx.ui.table.model.Simple(); > __tableModel.setColumns([ "Date", "DelayAvg", "First", "Last" ]); > > var url = "/avg_checkin_times/" + label; > var jsonFetcher = new q

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Scott Chapman
-Derrell Lipman wrote: - The problem is that you're mixing the nice new data binding stuff with the antique Table widget. The Table widget is wonderful, and there's not yet a data binding-version of it, so you need to do a bit of fiddling to get the two to work together. Data bindi

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Derrell Lipman
On Thu, Dec 29, 2011 at 12:42, Scott Chapman wrote: > Thanks for the help. I did: > > console.log(e.getData()) > then: > __tableModel.setData(e.getData()); > > The log shows "Please use toArray() to see the content" > > The setData gave me an error in the console.log: > > this.__rowArr[rowIn

Re: [qooxdoo-devel] json data into a table. I'm close....

2011-12-29 Thread Scott Chapman
-Derrell Lipman wrote: -   var __tableModel = new qx.ui.table.model.Simple();   __tableModel.setColumns([ "Date", "DelayAvg", "First", "Last" ]);   var url = "/avg_checkin_times/" + label;   var jsonFetcher = new qx.data.store.Json(null);   jsonFetcher.addListener

Re: [qooxdoo-devel] Using local storage

2011-12-29 Thread Tino Butz
Hi Michael, I have forwarded your question to Martin. Tino Am 23.12.2011 um 19:20 schrieb michael_polak: Thanks Martin. I added the binding and now it does what I think it should be doing. However, I find that I get a strange side-effect now which is that my remote table asynchronous downloadi

Re: [qooxdoo-devel] Visual UI Designer

2011-12-29 Thread Tino Butz
Hi I see that the Dojo Toolkit now has a beta of a visual designer called Maqetta. Is there any such tool for Visual UI building planned for QooxDoo? Could Maqetta be adapted for QooxDoo? I enjoy QooxDoo and think it is an excellent product but a Visual Designer would make an excellent additio

Re: [qooxdoo-devel] How to bind this table to RESTResource?

2011-12-29 Thread Tino Butz
There is no data binding controller for the table available right now (but hopefully soon). Right now, you have to create a data binding controller on your own (listen to the rest store events and update your table models). Tino Am 28.12.2011 um 03:24 schrieb Scott Chapman: I think I have the

Re: [qooxdoo-devel] Pinch gesture in desktop application

2011-12-29 Thread Tino Butz
Hi, We might try this. I will open a bug for that. Tino Am 22.12.2011 um 15:57 schrieb odg: Hi Tino, thank you! This worked and i tested it with the feedreader application too. But obviously I can no longer scroll through a scroll container, instead the whole screen scrolls. In the feedreade

Re: [qooxdoo-devel] example of text field AJAX completion?

2011-12-29 Thread Alexander Steitz
Hi Scott, yes, a list widget would be a good choice. I would recommend using a virtual list together with data binding to get your task done. Advantages: * You can fetch your data from your backend and setup a model -> the list will automatically update itself * Only the visib