Re: [qooxdoo-devel] Array Searching Question

2012-01-03 Thread John Spackman
Hi, If you've only got laTable as a flat array then a bisect search like that is about as good as it gets; if you're going to do a lot of lookups for particular sets of keys you could consider building an index, e.g. var lmIndex = {}; for (var i = 0; i < laTable.length; i++)

Re: [qooxdoo-devel] Array Searching Question

2012-01-03 Thread Simon White
Hi I would appreciate feedback on the following search function. I would like to know if there are more efficient ways of accomplishing my goal of finding items in a store the quickest way possible. It will be used on ordered JSON stores as follows: myStore.dcSeek({key: ["TABLE","ATYPE","NAME

Re: [qooxdoo-devel] svg drag and shape selection

2012-01-03 Thread Marc Puts
Oops, there was an error in my code. The last line should be:    var draggable = new svg.behavior.PatchedDraggable(PV, translationForDragging);   -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a compl

Re: [qooxdoo-devel] svg drag and shape selection

2012-01-03 Thread Marc Puts
Hi Pielle, This is a known limitation of the Draggable class. The problem is that the Draggable class used a transformation internally and overwrites the transform property of the dragged element. Therefore it can't be used with other transformations. The API doc of the Draggable class also mentio

[qooxdoo-devel] Attaching data to the headers of PUT qx.io.rest.Resource

2012-01-03 Thread aditya siram
Hi all, I would like to attach data to a PUT request of qx.io.rest.Resource. The only way I can think to do this is using the configureRequest(...) function like : r.configureRequest(function(req, action) { ... req.setRequestData(...) ...}); just before calling qx.io.rest.Resource.put(); It would

[qooxdoo-devel] svg drag and shape selection

2012-01-03 Thread pielle
I've applied a rotation to my rect shape: var pvRot = new svg.coords.transform.Rotate(null, parseFloat(data['rotXY']), cx,cx; PV.setTransform(pvRot); and set it draggable: this.draggable = new svg.behavior.Draggable(PV); but: 1) during the dragging, and so at the end, the

[qooxdoo-devel] Array Searching Question

2012-01-03 Thread Simon White
Hi This maybe more of a javascript question than QooxDoo and is due to my as yet inadequate knowledge of the inner workings of Javascript. I have an array in the form of: Menu = [{id: "TEST1",color: "blue",name: "myBlue"}, {id: "TEST36",color: "grey",name: "myGrey"}, {id: "TEST2

Re: [qooxdoo-devel] A forum for qooxdoo

2012-01-03 Thread Mehrez KRISTOU
Do you mind if I give it a try? Kristou On Wed, Jan 4, 2012 at 1:30 AM, Simon White wrote: > I just use the search feature of my news reader so I have not had a > problem like that. > > Simon > > > On 02/01/2012 10:44 PM, Mehrez KRISTOU wrote: >> As for me, the only drawbacks of a forum implem

Re: [qooxdoo-devel] A forum for qooxdoo

2012-01-03 Thread Simon White
I just use the search feature of my news reader so I have not had a problem like that. Simon On 02/01/2012 10:44 PM, Mehrez KRISTOU wrote: > As for me, the only drawbacks of a forum implemented as a mailing list > are the lack of organization and the quantity of received mails. > I tried to rea

Re: [qooxdoo-devel] Beginner's guide on qooxdoo

2012-01-03 Thread Mohamed Raffi
Thanks Fritz. On Tue, Jan 3, 2012 at 4:21 PM, Fritz Zaucker wrote: > Hi Raffi, > > just ordered a copy of the book. Although I don't see us as "beginners", we > certainly want to support your effort! > > Cheers, > Fritz > > On Thu, 29 Dec 2011, raffimd wrote: > > > Hi, > > > > I and Rajesh wrote

Re: [qooxdoo-devel] qooxdoo and svg transformation

2012-01-03 Thread Marc Puts
On 01/03/2012 12:41 AM, pielle wrote: > this is my code: > var PV = new svg.shape.Rect(); > var h = data['h']; > var w = data['w']; > PV.setId("PV_"+data['id']); > PV.setWidth(w); >

Re: [qooxdoo-devel] Modal window - bogous behaviour

2012-01-03 Thread danovics
Thanks This is bug #6001 http://bugzilla.qooxdoo.org/show_bug.cgi?id=6001 -- View this message in context: http://qooxdoo.678.n2.nabble.com/Modal-window-bogous-behaviour-tp7146494p7146684.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Modal window - bogous behaviour

2012-01-03 Thread Tristan Koch
Hi, thanks for your efforts. Moving your sample code to a stand-alone application demonstrates the issue (tested with Chrome). Can you please file a bug report? I would assume the modal window to capture all focus events, but I'm not sure what the intended behavior actually is. Regards Trista

Re: [qooxdoo-devel] Beginner's guide on qooxdoo

2012-01-03 Thread Fritz Zaucker
Hi Raffi, just ordered a copy of the book. Although I don't see us as "beginners", we certainly want to support your effort! Cheers, Fritz On Thu, 29 Dec 2011, raffimd wrote: > Hi, > > I and Rajesh wrote a beginner's guide on qooxdoo. We hope that helps the > developers to understand the RIA co