Re: [qooxdoo-devel] SelectBox & Databinding

2009-09-29 Thread MartinWittemann
Hello Daniel, this code really looks like there should be an easier solution to this. I tried to get your code working in the playground but failed. Could you perhaps explain what you want to achieve? Especially what data you want to have in what property (label, model). If i have that, I think I

[qooxdoo-devel] Bump qx.io2.HttpRequest urlencoded problem POST 8.3

2009-09-29 Thread tsmiller
Hello Qooxdoo Guys, I still have the same problem. I am sending a POST request to my cherrypy server via the qx.io2.HttpRequest object. The data being sent is the string representation of a dictionary. For example, using data = {"people" : "Tom & Jerry"}; data = qx.util.Json.stringi

Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 133

2009-09-29 Thread Chirag Patel
Derrell, Please refer to the links a) http://www.trirand.com/jqgrid/jqgrid.html , From the left tree select "Advanced - > Grid as Subgrid" b) http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/07_extended_modes/03_pro_subgrids.html The main advantage we get is flexibility to specify different

Re: [qooxdoo-devel] Problem with Remotely generated image.

2009-09-29 Thread Juan Matias Granda
I am a Alejandro friend, We can get the binary image with the header when the next code we get the binary image: I get the binary with qx.io.remote.Request but we don't know what to do in QOOXDOO, we need to know how to insert this code in qooxdoo to see the image if that is posible. Grettings

[qooxdoo-devel] SelectBox & Databinding

2009-09-29 Thread Daniel Hirtzbruch
Hello guys, I got a question concerning the qx.ui.form.SelectBox and DataBinding. I need to bind label and value of a selectbox to an array. By now I was using the old (deprecated) behavior and wanted to change this. While browsing the list archive I found a somehow complicated solution (this co

Re: [qooxdoo-devel] Problem with Remotely generated image.

2009-09-29 Thread Petr Kobalíček
Hi, I'm afraid that this is not possible using POST. There is responseType property in Request class that says: responseType Response type of request. The response type is a MIME type, default is text/plain. Other supported MIME types are text/javascript, text/html, application/json, applicatio

[qooxdoo-devel] Problem with Remotely generated image.

2009-09-29 Thread Alejandro Paz
I want to know how can i load a image to my qooxdoo Widget. The image is remotely generated with a certain parameters send to PHP (PHP generated the image). I have a way to generate the image and its work, but i want to do it a better way. *The working way is: Example: var params1 = "¶ms1=png"; va

Re: [qooxdoo-devel] Build speed

2009-09-29 Thread Petr Kobalíček
Hi Jean, I think that very efficient way to improve compiler is to write it in C++ :-) It's python and I think that speed was no primary goal when started writing it (Python language and Generator itself). There are extensions to python that tries to jit compile some parts (don't know their names,

Re: [qooxdoo-devel] Mailing list problems

2009-09-29 Thread Jean-Baptiste BRIAUD -- Novlog
I'm not sure if it is still useful to report such issue, especially reporting mailling list issue on the mailling list :-), but in case : today, I sent 2 messages on sourceforge lists, one on qooxdoo list and one other : few hours after having sent the message, still nothing. This happen quite

Re: [qooxdoo-devel] Build speed

2009-09-29 Thread Jean-Baptiste BRIAUD -- Novlog
Hi Thomas, On Sep 28, 2009, at 23:39 , thron7 wrote: >> I did some chrono and got 3 minutes !!! >> It's just too long for a very simple application (15 classes, all >> included) without translation, without ressources. > > Standard "Playground" application, 2 (!) app classes (but 240 classes > in

Re: [qooxdoo-devel] Unwanted member sharing between two instances of a class.

2009-09-29 Thread Nick Glencross
Hi, Running the 'lint' option may highlight instances that you may not be unaware of. Cheers, Nick On Tue, Sep 29, 2009 at 5:16 PM, Loïc Bresson -- Novlog wrote: > thron7 wrote: >> Read this: http://qooxdoo.org/documentation/0.8/classes#instance_members > > Thanks, I didn't know about that, an

Re: [qooxdoo-devel] Unwanted member sharing between two instances of a class.

2009-09-29 Thread Loïc Bresson -- Novlog
thron7 wrote: > Read this: http://qooxdoo.org/documentation/0.8/classes#instance_members Thanks, I didn't know about that, and it helped. But now I'm wondering if they are not other bad initializations elsewhere in our application. We'll have to check that carefully. -- Loïc Bresson

Re: [qooxdoo-devel] About objects registration in the ObjectRegistry

2009-09-29 Thread Matthew Gregory
Not sure if I understood you correctly, but if I did you should know that cannot rely on hash codes to uniquely identify objects in between sessions. The hash code is basically a counter, so if you create (e.g.) objectA and read it's has code, then re-run your application creating other objects

Re: [qooxdoo-devel] About objects registration in the ObjectRegistry

2009-09-29 Thread Loïc Bresson -- Novlog
thron7 wrote: > Counter question: Why do you need to know? Most people get along just > fine, without ever worrying about the object registry. What do you want > to achieve? Well, there are to reasons. First one is curiosity. I ran into a bug in our application, and for some moment I thought i

Re: [qooxdoo-devel] About objects registration in the ObjectRegistry

2009-09-29 Thread Matthew Gregory
Just to rule it out, are you calling this.base(arguments) in the constructor for each of your classes? Loïc Bresson -- Novlog wrote: > Hi. > > I'm trying to understand how the ObjectRegistry works. > I was thinking that every instantiated object was registered into the > ObjectRegistry when it

Re: [qooxdoo-devel] qooxdoo-support for komodo ide ?

2009-09-29 Thread thron7
I have no experience whatsoever integrating qooxdoo with Komodo (I briefly tried the editor once, that's all), and I haven't heard of anybody using it that way. Does Komodo offer some kind of API to plug-in specific language support? T. Andreas G. wrote: > hello guys! > > is there any way to g

Re: [qooxdoo-devel] About objects registration in the ObjectRegistry

2009-09-29 Thread thron7
Counter question: Why do you need to know? Most people get along just fine, without ever worrying about the object registry. What do you want to achieve? T. Loïc Bresson -- Novlog wrote: > Hi. > > I'm trying to understand how the ObjectRegistry works. > I was thinking that every instantiated ob

Re: [qooxdoo-devel] Unwanted member sharing between two instances of a class.

2009-09-29 Thread thron7
Read this: http://qooxdoo.org/documentation/0.8/classes#instance_members T. Loïc Bresson -- Novlog wrote: > Hi. > > I have a class that basically looks like this: > > qx.Class.define("EditorWindow", { >... >members: { > dataPanes: [], > ... >} > }); > > The member dataPanes

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread dmbaggett
FYI -- this e-book contains a wealth of information on optimizing JavaScript: http://javascriptrocks.com/performance/ I'm not affiliated with the authors, but I've read it and can recommend it wholeheartedly. Dave -- View this message in context: http://www.nabble.com/Some-for-loop-optimizat

[qooxdoo-devel] Unwanted member sharing between two instances of a class.

2009-09-29 Thread Loïc Bresson -- Novlog
Hi. I have a class that basically looks like this: qx.Class.define("EditorWindow", { ... members: { dataPanes: [], ... } }); The member dataPanes is an array that I use to store widgets that I don't want to instantiate several times. If the widget I need doesn't exist in the

[qooxdoo-devel] About objects registration in the ObjectRegistry

2009-09-29 Thread Loïc Bresson -- Novlog
Hi. I'm trying to understand how the ObjectRegistry works. I was thinking that every instantiated object was registered into the ObjectRegistry when it was created. However, I noticed recently that objects of some of my classes were not in the registry (when I try to get their hashcode, I get "

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread John Nagle
Hi everyone, I'm new to Qooxdoo, Javascript, and all of this (getting up to speed quickly though!) But in my former life I was a console videogame developer for about a decade, so I thought I'd chime in here on the loop optimization. For loop optimizations: don't worry about it unless you need

Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 115

2009-09-29 Thread Derrell Lipman
On Tue, Sep 29, 2009 at 05:38, Chirag Patel wrote: > Hello Derrell, > > Can you please let me know if this is possible? > To me it looks like it is not possible with the existing renderer and > model classes. > I think I already answered this with: > On Wed, Sep 23, 2009 at 01:11, Chirag Patel

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread skar
thron7 wrote: > "copy-files": > { >"=files": [] > } > } > > This way, you prohibit merging "files", but still inherit other subkeys > intact (which is what you usually want). It doesn't make a difference in > your particular case, as you want to copy no

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread thron7
>> >> > Ok, now I get why I need the "=" in the job definition. Thanks for the > URL :) > Actually, since the copy-files key carries other subkeys than "files", you would rather block on the subkey level, than the key level itself: "jobs" : { "build-files" : {

Re: [qooxdoo-devel] Mailing list problems

2009-09-29 Thread Stefan Volbers
Hey there, received them about one week ago, no problem. Didn't have anything to contribute though. Maybe it's appropriate to file a bug regarding the runtime issues? Seen them in Firefox too in a quick view. Greetings, Stefan Petr Kobalíček wrote: > Hi Guys, > > Sorry for reopening this, > >

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread Fritz Zaucker
On Tue, 29 Sep 2009, A.Yerenkow wrote: >> Another "interesting" result: >> >> n = 2000; >> var k, d=[]; >> for (k=0; k> d[d.length]=k; >> } >> >> is basically as fast as >> >> n = 2000; >> var d = new Array(n); >> var t2= new Date().getTime(); >> for (k=0; k> d[k] = k; >> } > mayb

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread A.Yerenkow
On 29.09.2009 13:38, Fritz Zaucker wrote: > On Tue, 29 Sep 2009, A.Yerenkow wrote: > > >> You could find info in internet about why is that :) >> The javascript arrays aren't arrays at all :) >> To see the whole picture, try reverse tests, like this: >> >> a) var k, n = 500; >> var d=[

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread Fritz Zaucker
On Tue, 29 Sep 2009, A.Yerenkow wrote: > You could find info in internet about why is that :) > The javascript arrays aren't arrays at all :) > To see the whole picture, try reverse tests, like this: > > a) var k, n = 500; > var d=[]; > for (k=n; k>0; k--) { > d[k] = k; > } >

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread skar
Matthew Gregory wrote: > By default when you override a job it merges your definition with the > orriginal definition: so > > the orriginal "files" : ["index.html"] > merged with > your "files" : [] > is still > "files" : ["index.html"] > > Using the equals character you are telling the generator

Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 115

2009-09-29 Thread Chirag Patel
Hello Derrell, Can you please let me know if this is possible? To me it looks like it is not possible with the existing renderer and model classes. Thanks Chirag Date: Thu, 24 Sep 2009 09:30:57 +0530 > From: Chirag Patel > Subject: Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 114 > T

Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 115

2009-09-29 Thread Chirag Patel
Thanks Rob,The rows are rendered as and when needed. Also I do not want to display sub-table all the time. The subtable should toggle each time a row of the main table is clicked. So it is basically a kind of tree grid with ability to have variable number of columns for main table and sub-table. So

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread Matthew Gregory
By default when you override a job it merges your definition with the orriginal definition: so the orriginal "files" : ["index.html"] merged with your "files" : [] is still "files" : ["index.html"] Using the equals character you are telling the generator to replace the existing job rather than

Re: [qooxdoo-devel] Mailing list problems

2009-09-29 Thread Petr Kobalíček
Hi Guys, Sorry for reopening this, I sent these times two mails, one about some qooxdoo runtime issues and one about Classic theme, were these mails received (there is no reply until now)? - Petr 2009/9/24 Fritz Zaucker : > Thomas, > > yes, I agree that this behaviour is ok. I just found it cur

Re: [qooxdoo-devel] Some for loop optimization tests

2009-09-29 Thread Petr Kobalíček
Hi Guys, I have more interesting idea of optimization in qooxdoo, but I don't know if it's possible to implement. Javascript is dynamic language and everything is determined at runtime, qooxdoo has complete namespace system (and my app too) that forces you to write code like this: qx.Class.define

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread skar
thron7 wrote: > > The action key run in the "build-files" job is the "copy-files" key [1]. > You can either specify copy-files/files : [] (empty list) to have > nothing copied. Or list other files and/or directories off of the > "source" path to be copied to the build version. > > T. > > [1]

Re: [qooxdoo-devel] skip index.html from being built while running "./generate.py build"

2009-09-29 Thread thron7
skar wrote: > Hi, > > Since I'm using a variation of the index.html with AUTH_TOKEN variable > to pass rails csrf checks, how do I make the build script not copy the > index.html over to the build dir. The action key run in the "build-files" job is the "copy-files" key [1]. You can either speci

Re: [qooxdoo-devel] Native Window, again

2009-09-29 Thread panyasan
Looking through the code, my assumption is that it has to do with qx.event.Registration.getManager(). The event manager is chosen according to the global "window" object (line 78). This is really tricky, because the event target is instantiated in the parent window, and not in the child window. I