Re: [qooxdoo-devel] table issue, in need of some suggestions

2009-04-06 Thread Fritz Zaucker
A not so elegant solution would be to catch the double click event and from there call stopEditing() Cheers, Fritz On Mon, 6 Apr 2009, Jim Hunter wrote: > I have a unique need and I have been mulling over the table source > code for a while and I have not yet nailed down what I need to do in > o

[qooxdoo-devel] conflict with Google visualization API?

2009-04-06 Thread David Donohue
Hi i am a Eclipse RAP developer. I was trying to make a custom RAP widget of the Motion Chart in Google Visualization. http://code.google.com/apis/visualization/documentation/gallery/motionchart.html but I was getting an error. So I tried to make the Motion Chart in a Qooxdoo 0.7.4 quickstart app

[qooxdoo-devel] table issue, in need of some suggestions

2009-04-06 Thread Jim Hunter
I have a unique need and I have been mulling over the table source code for a while and I have not yet nailed down what I need to do in order to solve my problem. What I have is a need, on a cell by cell basis, to be able to hide the contents of a cell or to make the contents readonly. Now remember

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Kenneth Tilton
thron7 wrote: > Kenny, you like teasing us! You say you first didn't notice the links in > Fabian's posting, but you can only say so after noticing them, so you knew > what we were out for ;-). Close. I really did not notice in the links in Fabian's posting. What I held back was that once on th

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread thron7
Kenny, you like teasing us! You say you first didn't notice the links in Fabian's posting, but you can only say so after noticing them, so you knew what we were out for ;-). Jim: I realized the x scaling thing too. But the charts comparing the toolkits directly speak for themselves. The other thin

Re: [qooxdoo-devel] JsQt at jsqt.org

2009-04-06 Thread Burak Arslan
Petr, Ideologies are useful only to the extent they give useful results. i think jsqt to be a tool that will benefit from the truce that the gpl tries to set up between developers. by licensing it under gpl, i just wanted to convey the message that if you somehow extend jsqt and share your w

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Kenneth Tilton
Jim Hunter wrote: > That report is like "so last month" (hehehehe), it was written before > qooxdoo was added to the mix. Ah! I am relieved, I could not believe my eyes. I had in fact clicked thru to the results page and discovered the qooxdoo numbers. But I am also bummed. I was secretly ho

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Jim Hunter
That report is like "so last month" (hehehehe), it was written before qooxdoo was added to the mix. qooxdoo now beats Dojo on most browsers! Check out http://dante.dojotoolkit.org/taskspeed/report/charts.html which is on Dojo's site! I especially like the results on IE8! When looking at the bar ch

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Kenneth Tilton
I did not notice the links below so I googled taskspeed+qooxdoo and this came up: http://ajaxian.com/archives/taskspeed-more-benchmarks-for-the-libraries-and-browsers "Dojo 1.3 wins by a wide margin. Across all the reported browsers so far, Dojo is at least 2 times faster than other toolkits on

Re: [qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Fabian Jakobs
Jean-Baptiste BRIAUD -- Novlog schrieb: > Hi the list, > > Is it for *this* monday ? > > What could it be ? > a new QX linux distrib : the rewrite of Linux kernel in full > javascript and XWindow using qooxdoo :-) ? > Almost :-) Some of you may have already noticed that qooxdoo appears in the

Re: [qooxdoo-devel] JsQt at jsqt.org

2009-04-06 Thread thron7
Petr Kobalíček wrote: > Hi Burak, > > nice project, but I'm worrying about its licence. Is GPL good for > these kind of projects ? Many of us are creating commercial > applications and for me this seems to be blocker :) Depends on what you want to do. If you intend to *change* the source of j

Re: [qooxdoo-devel] Experiencing an RPC timeout and Z-index Bug in IE6, Works great in Firefox 2.0

2009-04-06 Thread Gene Amtower
Thanks, Derrell. I did make the change you suggest after reading Stefan's message. I also discovered that this line... item = new qx.ui.form.ListItem(result[tr]["Name"],"",result[tr]["Key"]); needed "var" added to get it to work in IE6, as in...

Re: [qooxdoo-devel] Experiencing an RPC timeout and Z-index Bug in IE6, Works great in Firefox 2.0

2009-04-06 Thread Derrell Lipman
On Mon, Apr 6, 2009 at 11:29 AM, Stefan Volbers wrote: > Hi Gene, > > I do something similar in a standard qx application, populating several > form elements with rpc result data. > Works for me with any browser I could test, and actually is working fine > at my customer's place. > > I believe th

Re: [qooxdoo-devel] JsQt at jsqt.org

2009-04-06 Thread Petr Kobalíček
Hi Burak, nice project, but I'm worrying about its licence. Is GPL good for these kind of projects ? Many of us are creating commercial applications and for me this seems to be blocker :) But it's your ideology, I'm just wondering about it:) Cheers - Petr 2009/4/6 thron7 > Hi Burak, > > thank

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread thron7
Thanks, I changed that. T. Matthew Gregory wrote: > Thanks for this, > Using 'self' for colusures is actually suggested here: > http://qooxdoo.org/documentation/general/javascript_best_practises#using_self_for_closures > > I tend not to use self as it reminds me of some stuff I had to do in > o

Re: [qooxdoo-devel] Experiencing an RPC timeout and Z-index Bug in IE6, Works great in Firefox 2.0

2009-04-06 Thread Stefan Volbers
Hi Gene, I do something similar in a standard qx application, populating several form elements with rpc result data. Works for me with any browser I could test, and actually is working fine at my customer's place. I believe the problem is that you use for ( in ) on the rpc result with IE6. Thi

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Matthew Gregory
Thanks for this, Using 'self' for colusures is actually suggested here: http://qooxdoo.org/documentation/general/javascript_best_practises#using_self_for_closures I tend not to use self as it reminds me of some stuff I had to do in object pascal and makes me nauseous thron7 wrote: > > Matthew

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Roman Schmid
Ouch.. good to know. thron7 wrote: > > Matthew Gregory wrote: >> There are a few solutions, can you show your code? >> >> If you are using rpc with event handlers, when you add your listener >> pass 'this' (without quotes) as the third parameter. >> >> Otherwise you might have to do something l

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread thron7
Matthew Gregory wrote: > There are a few solutions, can you show your code? > > If you are using rpc with event handlers, when you add your listener > pass 'this' (without quotes) as the third parameter. > > Otherwise you might have to do something like this: > > var self = this; > Guys, nev

[qooxdoo-devel] Experiencing an RPC timeout and Z-index Bug in IE6, Works great in Firefox 2.0

2009-04-06 Thread Gene Amtower
Qooxdoo'ians, I've created 4 select lists using qx.ui.form.SelectBox in my Inline application, and I use 4 separate RPC calls in my Application.js to retrieve their contents from the backend database and populate them accordingly. With the compiled build script copied to my web server, I tried to

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Michael Ochs
Thanks, that did the trick! :) Am 06.04.2009 um 15:50 schrieb Matthew Gregory: There are a few solutions, can you show your code? If you are using rpc with event handlers, when you add your listener pass 'this' (without quotes) as the third parameter. Otherwise you might have to do somethin

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Timo
have you ever tryed to compile with string optimization? when i you used this solution i got an error when i build with string optimze. timo Am Mo, 6.04.2009, 15:50, schrieb Matthew Gregory: > There are a few solutions, can you show your code? > > If you are using rpc with event handlers, when you

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Matthew Gregory
There are a few solutions, can you show your code? If you are using rpc with event handlers, when you add your listener pass 'this' (without quotes) as the third parameter. Otherwise you might have to do something like this: var self = this; foo(... function() { // in your callback function u

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Andy Colson
Michael Ochs wrote: > Hi, > > I'm trying to load a callback function (after rcp request) and make a > new table model in this callback function. This table model is stored > in this.tableModel but I noticed, that in this case the reference of > this points to Window whereas everywhere else t

[qooxdoo-devel] this reference in callback?

2009-04-06 Thread Michael Ochs
Hi, I'm trying to load a callback function (after rcp request) and make a new table model in this callback function. This table model is stored in this.tableModel but I noticed, that in this case the reference of this points to Window whereas everywhere else this points to frontend.Applica

Re: [qooxdoo-devel] building everything

2009-04-06 Thread Petr Kobalíček
Hi Thomas, it's easy to reproduce this issue, just add include: "qx.*" into config.json and you get it. You must set qxvariant["qx.debug"] to "on". Cheers - Petr 2009/4/6 thron7 > Ok, there is already a bug open concerning dependency issues (#2188), > and this problem might be related. I've ad

Re: [qooxdoo-devel] QooxDoo startup challenge

2009-04-06 Thread Fabian Jakobs
Matthew Gregory schrieb: > Have you tried looking at creating an inline application rather than a > standalone. Not sure what you are trying to achieve but sounds like you > want an inline application. > That's the way to go. The standard GUI application uses the "body" element for the root w

Re: [qooxdoo-devel] Make RPC Request with unknown number of arguments

2009-04-06 Thread Mustafa Sak
May bee this is useful if you are using PHP as RPC Server: If you send one array to the service you will get a stdObject in PHP at $params[0] Look at this snipp to handle them: function method_setCustomer($params, $error) { //var_dump($params);

Re: [qooxdoo-devel] Make RPC Request with unknown number of arguments

2009-04-06 Thread Michael Ochs
Thanks for the quick answer! That helped a lot. Works perfect! Am 06.04.2009 um 12:25 schrieb Matthew Gregory: Simple answer, yes! We do something similar to this, I would show you our code but it is very deep within our business logic so I can't really :( A cut down version of it that yo

Re: [qooxdoo-devel] Make RPC Request with unknown number of arguments

2009-04-06 Thread Matthew Gregory
Simple answer, yes! We do something similar to this, I would show you our code but it is very deep within our business logic so I can't really :( A cut down version of it that you could try would be something like this (untested): // rpc = your rpc object // aParams = your array of paramemeters

Re: [qooxdoo-devel] closures and memory leaks

2009-04-06 Thread thron7
Hi Andy, > showMain: function() > { > ... ... > > table = new qx.ui.table.Table(model); > > layout = new qx.ui.layout.HBox(0); > layout.setAlignY("middle"); > hbox = new qx.ui.container.Composite(layout); > var txt1, txt2; > txt1 = new qx.ui.form.TextField();

[qooxdoo-devel] Make RPC Request with unknown number of arguments

2009-04-06 Thread Michael Ochs
Hi, I have to make an rpc request with a unknown number of arguments. Therefore I stored the arguments in an array, but when I use callAsync(handler, method, parameters); it sends the array as an array to the webserver and not as single arguments. So my request just has one argument which

Re: [qooxdoo-devel] setting minLogLevel in 0.8.2

2009-04-06 Thread thron7
mshillin wrote: > In Qooxdoo 7.x you could change the log level via the qxsettings array > > qxsettings["qx.minLogLevel"]=700; > > How do you do this in 0.8.2? > Daniel pointed to qx.log.Logger.setLevel() (see API docs for details). You could define your own setting, use it in the config, an

Re: [qooxdoo-devel] QooxDoo startup challenge

2009-04-06 Thread Matthew Gregory
Have you tried looking at creating an inline application rather than a standalone. Not sure what you are trying to achieve but sounds like you want an inline application. dmbaggett wrote: > I'm very impressed with QooxDoo, both the surface UIs it generates and the > code underneath the hood. Tha

Re: [qooxdoo-devel] Unknown image

2009-04-06 Thread Roman Schmid
Hi Florian No, that should be perfectly valid. I think the Function.bind is called anyway inside the ImageLoader.load method. Best - Roman Florian Giesen wrote: > Hello Roman, > > thanks for your help, now I got the imageloader working. Instead of > using qx.lang.Function.bind directly, I set t

Re: [qooxdoo-devel] Unknown image

2009-04-06 Thread Florian Giesen
Hello Roman, thanks for your help, now I got the imageloader working. Instead of using qx.lang.Function.bind directly, I set the context parameter of qx.io2.ImageLoader.load to a map holding all the needed parameters: SNIP var options = { that: this, url: imgUrl, name: data[i].na

Re: [qooxdoo-devel] Reloading of qooxdoo project in source modetake to much time

2009-04-06 Thread Mustafa Sak
Great! -Ursprüngliche Nachricht- Von: thron7 [mailto:thomas.herchenroe...@1und1.de] Gesendet: Montag, 6. April 2009 11:01 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Reloading of qooxdoo project in source modetake to much time We are working on a source version with a single fi

Re: [qooxdoo-devel] setting minLogLevel in 0.8.2

2009-04-06 Thread thron7
mshillin wrote: > In Qooxdoo 7.x you could change the log level via the qxsettings array > > qxsettings["qx.minLogLevel"]=700; > > How do you do this in 0.8.2? > The setting itself seems to be gone in 0.8, I'm afraid. > There seems to be no documentation about logging configuration - the AP

Re: [qooxdoo-devel] Reloading of qooxdoo project in source modetake to much time

2009-04-06 Thread thron7
We are working on a source version with a single file for the framework classes. This should alleviate the issue. T. Mustafa Sak wrote: > > Hi Jim, > > i am agree with you, but the classes of the framework doesn’t change, > so they shouldn’t be checked by firefox every time. Accidentally I > f

Re: [qooxdoo-devel] JsQt at jsqt.org

2009-04-06 Thread thron7
Hi Burak, thanks for sharing this. T. Burak Arslan wrote: > hi, > > i've put some proper documentation in the jsqt web site, fixed all bugs > known to myself (except the case with radiobutton), and started > supporting a decent number of widgets and containers, which encouraged > me to releas

Re: [qooxdoo-devel] building everything

2009-04-06 Thread thron7
Ok, there is already a bug open concerning dependency issues (#2188), and this problem might be related. I've added a comment to this end. It would be helpful if you could reproduce it in a Skeleton app. T. Petr Kobalíček wrote: > Hi thron, > > good news :) Half of problems described here are g

Re: [qooxdoo-devel] building everything

2009-04-06 Thread Petr Kobalíček
Hi thron, good news :) Half of problems described here are gone (tried yesterday trunk). But the assert failure is still here. I tracked this problem and it's here: qx/lang/Object.js: /** * Get the keys of a map as array as returned by a "for ... in" statement. * * @signature fun

[qooxdoo-devel] exciting blog post next Monday ?

2009-04-06 Thread Jean-Baptiste BRIAUD -- Novlog
Hi the list, Is it for *this* monday ? What could it be ? a new QX linux distrib : the rewrite of Linux kernel in full javascript and XWindow using qooxdoo :-) ? http://news.qooxdoo.org/ -- ___

Re: [qooxdoo-devel] Textfield.setValue(null) throws Exception in .0.8.2 but not 0.7.x

2009-04-06 Thread Martin Wittemann
Hello Jim, thats a good point. I just checked our Spinner implementation to take a look if every qooxdoo widget acts like the TextField. The Spinner does exactly the thing you suggested. So I made a note to the current bug (http://bugzilla.qooxdoo.org/show_bug.cgi?id=2099) concerning the

Re: [qooxdoo-devel] Unknown image

2009-04-06 Thread Roman Schmid
Hi Florian Using the imageloader should work, at least it does for me. However, there seems to be a problem with your callback function. When you write this.addLangEntry(langMenu, data[i].name, imgUrl), you actually *call* that function right away. That means, the button is added before the image

Re: [qooxdoo-devel] Unknown image

2009-04-06 Thread Florian Giesen
Hello Amit, thanks for your answer, but > Maybe using the #asset() will solve the issue. I cannot use #asset, because the image to be loaded resides outside the resource tree of my qx app. Regards, Florian -- _