[qooxdoo-devel] Object pooling with qx.io.remote.Rpc objects

2009-05-13 Thread panyasan
Hi, I don't know if I fully understood how object pooling works. For example, if I create a pool of ten qx.io.remote.Rpc objects that I want to use and reuse when the request is completed. this.__pool = new qx.util.ObjectPool(10); for ( var i=0; i<10; i++) { this.__pool.poolOb

[qooxdoo-devel] Two Simple Table Questions

2009-05-13 Thread tsmiller
Hello, I checked out version 19060 (8.2) from svn and noticed that the ColumnVisibilityButton does not work anymore. It opens and lets you check or uncheck the fields, but it doesn't do anything. I also noticed that when I click on the scrollbar, it scrolls only 5 or so items at a time regardles

[qooxdoo-devel] remote tables again: adding rows, reloadData and setValue

2009-05-13 Thread Michael Helwig
Hi, here comes my next question on the remote tables. I'm working on a possibility for the user to edit the table data on the user interface without immediately applying it to the database. This is, of course, no problem when only cell data is entered. But it is problematic if a user wants to ad

Re: [qooxdoo-devel] remote tables and mysql queries

2009-05-13 Thread Michael Helwig
Hi, thanks to both of you for the quick answers. I indeed use the LIMIT clauses of mysql for requesting data from the table. I do have an idea how one could make sorting by text-entries instead of id's possible in Qooxdoo but I haven't tried yet. Best, Michael -

[qooxdoo-devel] soap client v0.4

2009-05-13 Thread Burak Arslan
all, what i believe to be a first stable release of the soap client is out. it has properly de-serialized lots of variable type combinations, and i believe it's ready for third-party testing. i hope you find it useful. best regards, burak

[qooxdoo-devel] Databinding for TreeVirtual

2009-05-13 Thread panyasan
Hello, I committed a first version of a databinding feature for qx.ui.treevirtual.TreeVirtual, using a jsonrpc store, in the contrib://qcl in the qcl namespace. You can have a look at the code here: https://qooxdoo-contrib.svn.sourceforge.net/svnroot/qooxdoo-contrib/trunk/qooxdoo-contrib/qcl/tru

Re: [qooxdoo-devel] Bidirectional data binding for a List?

2009-05-13 Thread Jean-Noël Rivasseau
Hi, in my case the list contains ListItems, they ar not editable but the user has controls in the interface to remove or add such predefined ListItems. I would like the array from the model to be automatically updated to correspond to what the user has added or removed in the list. If it is not y

Re: [qooxdoo-devel] Defining a qx.data.Array property

2009-05-13 Thread Jean-Noël Rivasseau
Hi Martin, Thanks for the reply - this did not work though. So here is my code: properties: { fonts: {"init": null, "event": "changeFonts", "check": "qx.data.Array", "apply": "_applyGeneric"} }, construct: function() { this.base(arguments); this.setFon

Re: [qooxdoo-devel] Java RPC and instances of Java classes

2009-05-13 Thread Andreas Junghans
Hi there, Am 13.05.2009 um 17:22 schrieb marino99: > doesn't anybody have a solution / clue for me? Or is it even > impossible to > have one instance of a Java class and use it the way instances are > usually > used? Maybe I didn't make my point clear enough, so here's the code > I used > f

Re: [qooxdoo-devel] Java RPC and instances of Java classes

2009-05-13 Thread kanugula
Why do you need a single instance of RemoteService? You should move your state machine away from RPCTest. You can register a Spring bean (which will have only once isntance by default) and handover to it by lloking up the Spring bean. Look at Spring framework. Look at how I am doing? p

Re: [qooxdoo-devel] Java RPC and instances of Java classes

2009-05-13 Thread Derrell Lipman
On Wed, May 13, 2009 at 11:22 AM, marino99 wrote: > > Hi again, > > doesn't anybody have a solution / clue for me? Or is it even impossible to > have one instance of a Java class and use it the way instances are usually > used? Maybe I didn't make my point clear enough, so here's the code I used

Re: [qooxdoo-devel] Java RPC and instances of Java classes

2009-05-13 Thread marino99
Hi again, doesn't anybody have a solution / clue for me? Or is it even impossible to have one instance of a Java class and use it the way instances are usually used? Maybe I didn't make my point clear enough, so here's the code I used for testing: var button1 = new qx.ui.form.Button("setTestStri

[qooxdoo-devel] opera does not like qx.bom.Document.getWidth() 8.2 19060

2009-05-13 Thread tsmiller
Hello, The call to qx.bom.Document.getWidth() and qx.bom.Document.getHeight() brings back invalid results in Opera (all versions it seems). It brings back a width and height much bigger than the actual screen size. Calls to getBounds() work in Opera. Is this a known issue? /* **

Re: [qooxdoo-devel] Table scroller always visible

2009-05-13 Thread Martin Wittemann
Hello Massimo, as far as i know there is no way to set this behavior in the API. The only thing i can think of is patching the qooxdoo table for yourself. You could change the variables var horNeeded = false; var verNeeded = false; to var horNeeded = true; var verNee

Re: [qooxdoo-devel] Defining a qx.data.Array property

2009-05-13 Thread Martin Wittemann
Hello Jean-Noel, you have to use a mix of attempt one and three. First you have to define the property itself. Therefore you have to add the property name to the properties definition like you did in point 1. The only thing you should not do is to add the array as the init value. This code

Re: [qooxdoo-devel] Bidirectional data binding for a List?

2009-05-13 Thread Martin Wittemann
Hello, the list contains in the default setting only list items and the user can't change anything in the list item. So a binding back from the listitem to the model would not make much sense. But if you use some kind of editable widgets in the list, that is an important feature as you sai

Re: [qooxdoo-devel] Getting the class of an object?

2009-05-13 Thread Martin Wittemann
Hello Vincent, if you need to access additionally the qooxdoo class, you can do so by using this.constructor With that you can check on equality. The following code will return true for example. var b = new qx.ui.form.Button(); alert(b.constructor === qx.ui.form.Button); Best, Martin Am 1

Re: [qooxdoo-devel] Getting the class of an object?

2009-05-13 Thread Vincent Bernardi
> I use "this.classname" and it works fine. Exactly what I needed. Thanks a million, and again sorry for the basic question. V. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production sca

Re: [qooxdoo-devel] Getting the class of an object?

2009-05-13 Thread Lutz Schoder
Hi Vincent, I use "this.classname" and it works fine. Regards Lutz Vincent Bernardi schrieb: > Hi everyone, > I feel a bit stupid for asking such a basic question, but how do you > get the Qx class of an object at run-time, either as a class object or > as a string? I couldn't find anything

[qooxdoo-devel] Bidirectional data binding for a List?

2009-05-13 Thread Jean-Noël Rivasseau
Hello, I am trying to make a binding from a List to a List widget, however I see no options in the controller to make the binding bidirectional. Currently every change in the model is reflected in the widget, but I would like every change made in the widget to be also propagated in the model. Is

[qooxdoo-devel] Table scroller always visible

2009-05-13 Thread Massimo Petrillo
Hi, is there a way to get scrollers always visible? Thanks in advance. MAssimo -- View this message in context: http://www.nabble.com/Table-scroller-always-visible-tp23519365p23519365.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. -

[qooxdoo-devel] Getting the class of an object?

2009-05-13 Thread Vincent Bernardi
Hi everyone, I feel a bit stupid for asking such a basic question, but how do you get the Qx class of an object at run-time, either as a class object or as a string? I couldn't find anything about that in the documentation and my blind attempts through this.self(arguments) failed miserably.

[qooxdoo-devel] Defining a qx.data.Array property

2009-05-13 Thread Jean-Noël Rivasseau
Hello, today I tried to define a qx.data.Array property on one of my class (to use data binding with a List on it). I could not manage to understand how to properly initialize this property to make it work. I tried several things: 1) Defining the property as: myProperty: { init: new qx.data.Arra

Re: [qooxdoo-devel] Single images in build version

2009-05-13 Thread Jenec
It works! I love Qooxdoo.. Martin Wittemann wrote: > > Hello, > > there is no "official" way to turn that feature off, at least no way i > know. > The only thing you can do is to patch the ResourceManager in the > framework manually for the time you need the desired behavior. > Just open t