Re: [qooxdoo-devel] SelectionAPI woes (part 1)

2009-06-17 Thread Jim Hunter
When you go from having nothing in the box to having something, then it's selection has changed, that's why the event fires. The simple way around it is to not add the event listener to the select box until after the items have been added. This is what I do and I am having no problems and I don't n

Re: [qooxdoo-devel] Why are 'Request' objects not reusable?

2009-06-17 Thread Jim Hunter
For one, a Request object is a singleton. By definition it can only be used once. I assume they decided to make it a singleton because the life of a Request is not clear cut. At any point in time you are not fully sure if it is done doing it's job so that it can be used again. It was easier to make

[qooxdoo-devel] Why are 'Request' objects not reusable?

2009-06-17 Thread aditya siram
Hi all, It seems as though 'Request' objects can only be used once. Code that tries to reuse [1] will only send the request once. Even though I 'setData' on each button press subsequent sends do nothing. Additionally the "completed" listener also only fires the first time. This is somewhat counter

[qooxdoo-devel] [SOLVED] Re: Parameters not GET'ing or POST'ing

2009-06-17 Thread aditya siram
For some reason I forgot to change the server service to accept GET requests. The following code does not have the problem described above: var req = new qx.io.remote.Request("/library", "POST"); button.addListener("execute", function(e) { req.setData("isbn=" + isbn.getValue());

Re: [qooxdoo-devel] Where do minimized windows go?

2009-06-17 Thread aditya siram
Awesome! Thanks so much for your help. I haven't run this code yet, but I appreciate it. -deech On Mon, Jun 15, 2009 at 10:36 AM, Fink, Andreas wrote: > Hi, > > I've implemented the functionality by myself like this: > > every window (I create windows from a xml description) has a button which >

Re: [qooxdoo-devel] Parameters not GET'ing or POST'ing

2009-06-17 Thread aditya siram
And the debug statement 'this.debug(req.getData())' correctly outputs the 'isbn' parameter and its value. thanks ... -deech On Wed, Jun 17, 2009 at 3:43 PM, aditya siram wrote: > Hi all, > I have the following snippet of code [1] that send a GET request with data > field 'isbn' to the server. Ho

[qooxdoo-devel] Parameters not GET'ing or POST'ing

2009-06-17 Thread aditya siram
Hi all, I have the following snippet of code [1] that send a GET request with data field 'isbn' to the server. However Firebug does not show the parameter at all. Instead it shows only a nocache parameter in 'Parameters' and something about a POST message in 'Response' [2]. Has anyone seen this be

[qooxdoo-devel] How to add to real-life examples?

2009-06-17 Thread Marcel Ruff
Hi, how can I add our web application to the qooxdoo real-life examples? Thanks Marcel -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-f

Re: [qooxdoo-devel] SelectionAPI woes (part 1)

2009-06-17 Thread mshillin
Upload was missing - here it is http://www.nabble.com/file/p24078320/Application.js Application.js -- View this message in context: http://www.nabble.com/SelectionAPI-woes-%28part-1%29-tp24077884p24078320.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ---

Re: [qooxdoo-devel] FS browsing component

2009-06-17 Thread Vincent Vandenschrick
I will. Thanks for pointing this out. thron7 a écrit : > Maybe you want to look at the UploadWidget > (http://qooxdoo.org/contrib/project#uploadwidget), which is 0.8-ready, > according to its Manifest. There is also an UploadJavaApplet, but looks > like 0.7 code. Not sure about the download, th

Re: [qooxdoo-devel] FS browsing component

2009-06-17 Thread thron7
Maybe you want to look at the UploadWidget (http://qooxdoo.org/contrib/project#uploadwidget), which is 0.8-ready, according to its Manifest. There is also an UploadJavaApplet, but looks like 0.7 code. Not sure about the download, though, this is browser business. T. Vincent Vandenschrick wrot

[qooxdoo-devel] SelectionAPI woes (part 1)

2009-06-17 Thread mshillin
I am finding the new Selection API really hard to work with. 1. ChangeSelection events and Add. It appears SelectBox is firing a ChangeSelection event when the first ListItem is added. I am using the trunk (0.8.3-pre) version. I would expect a ChangeSelection event to be triggered by a call to

Re: [qooxdoo-devel] FS browsing component

2009-06-17 Thread Vincent Vandenschrick
Forget the question. It seems that it is just impossible to browse the local FS in JavaScript, mainly for security reasons. I think I will fall back to plain html for choosing the file to upload and to the hidden iframe method that was submitted to the list for file download. Life is hard... C

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Jean-Noël Rivasseau
Sorry, I did not spot the post about the roadmap, ignore the last question. I hope the animation framework for Widgets will be in final 1.0 (0.9 would be even better) On Wed, Jun 17, 2009 at 5:51 PM, Jean-Noël Rivasseau wrote: > Hi. Actually I had another bug deep hidden that caused troubles. I

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Jean-Noël Rivasseau
Hi. Actually I had another bug deep hidden that caused troubles. I managed to fix this, but then ran against the bug you gave me the fix for, so this was still very useful :) I am good to go now. What about the roadmap I asked ? ;) Thanks Jean-Noel On Wed, Jun 17, 2009 at 5:03 PM, Jean-Noël Riv

Re: [qooxdoo-devel] Configurable PopupManager

2009-06-17 Thread Gene Amtower
Jean-Noel, I use popups to display a table object in response to entry in a text field, and I think the hiding behavior is appropriate for that usage. I think typical user interface functionality in local apps works that way as well. However, I'm wondering how you're using popups in your applica

[qooxdoo-devel] FS browsing component

2009-06-17 Thread Vincent Vandenschrick
Hi all, I was wondering if anyone had already implemented a local FS browse functionality in a Qooxdoo (0.8.2) application. I may be blind, but I couldn't find any dedicated component. Here is what I need to achieve : 1/ Upload binary data - Let the user browse its local FS for some file (maybe

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Jean-Noël Rivasseau
I did method 1 but I still have the bug. I think it's due to something else that what you originally thought. Let me see if I can gather more information. On Wed, Jun 17, 2009 at 2:46 PM, Martin Wittemann wrote: > Hello Jean-Noel, > I gave my example code a try in a 0.8.2 environment and as you

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Andreas Ecker
Howdy! > 1. You path the qooxdoo class qx.ui.form.AbstractField by adding this > to the members section: > > > /** > * Resets the value to the default > */ > resetValue : function() { > this.setValue(""); > }, > > > 2. You use an evil JavaScript trick to patch the

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Martin Wittemann
Hello Jean-Noel, I gave my example code a try in a 0.8.2 environment and as you said it didn't work. As a workaround i thought of patching the textfield to handle null values. That way you could leave the binding without a converter and the problem is solved. There are two ways you could

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Andreas Ecker
Hi Jean-Noël! > Btw, it would be *very* nice if there was a roadmap posted somewhere > regarding new releases shipping dates and their features. Currently I > have no idea when 0.8.3 will be out and what will be in it. Apparently you don't know about the roadmap document yet at: http://qooxdoo.or

Re: [qooxdoo-devel] Configurable PopupManager

2009-06-17 Thread Matthew Gregory
You should be able to remove the listener from within your own code var popupMan = qx.ui.popup.Manager.getInstance(); qx.bom.Element.addListener(window, "blur", popupMan.hideAll, popupMan); HTH, Matt Jean-Noël Rivasseau wrote: > Hi, > > In the popup manager there is a 'feature' which I strongly

[qooxdoo-devel] Configurable PopupManager

2009-06-17 Thread Jean-Noël Rivasseau
Hi, In the popup manager there is a 'feature' which I strongly dislike: // Hide all popups on window blur qx.bom.Element.addListener(window, "blur", this.hideAll, this); This causes all popups to disappear when switching tabs on the browser, applications on the system, etc. I prefer them

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Jean-Noël Rivasseau
Hi Martin, I am still not 100% sure it's a complete duplicate. Your bug reproduces OK but that does not necessarily mean your fix will take care of my original bug. I am waiting for your workaround to test jean-Noel On Wed, Jun 17, 2009 at 11:50 AM, Martin Wittemann < martin.wittem...@1und1.de> w

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Martin Wittemann
Hi, thats good to hear. So i close the bug as a dulicate and take a look at a workaround after im done with my current task and come back to you later. I hope i could find a solution for you. Best, Martin Am 17.06.2009 um 11:20 schrieb Jean-Noël Rivasseau: Hi, I reproduced the test you g

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Jean-Noël Rivasseau
Hi, I reproduced the test you gave me in the bug and yes, it fails. I am on 0.8.2 and would prefer not to update to trunk... is there some workaround I can apply until I upgrade to 0.8.3 ? Btw, it would be *very* nice if there was a roadmap posted somewhere regarding new releases shipping dates a

Re: [qooxdoo-devel] Data binding problem: workaround for bug #2478

2009-06-17 Thread Martin Wittemann
Hi, It really looks like the bug I fixed yesterday. Jean-Noel, could you please check the code snipped in the bug report to verify that the code is reproducing your bug? Best, Martin Am 17.06.2009 um 05:26 schrieb Vincent Vandenschrick: > Hi Jean-Noel, > It seems to me a duplicate of the b