[qooxdoo-devel] TabView doesn't work for me

2009-05-15 Thread panyasan
Hi, I am using trunk. When I build a tab view like so: var container = new qx.ui.container.Composite(new qx.ui.layout.VBox(10)); container.setPadding(5); this.getRoot().add(container); var tabView = new qx.ui.tabview.TabView(); container.add(tabView);

Re: [qooxdoo-devel] qooxdoo-based plugin for PHP-based XRMS CRMS

2009-05-15 Thread Ivaylo Boiadjiev
Hi, Jim! Thank you for the tip! I had come accross VCL earlier when I was invesigating qooxdoo but I guess I did not give it the attention it deserves, probably because I came under the impression that is provides only a small subset of the qooxdoo widgets. I will definitely research it in mo

Re: [qooxdoo-devel] qooxdoo-based plugin for PHP-based XRMS CRMS

2009-05-15 Thread Jim Hunter
There is a PHP library for doing almost exactly what you want, it's called VCL for PHP and uses qooxdoo as the base for all the VCL components. The library is currently used in Delphi for PHP. You can check it out at: http://www.qadram.com/vcl4php/ Jim On Fri, May 15, 2009 at 2:14 PM, Ivaylo Bo

[qooxdoo-devel] qooxdoo-based plugin for PHP-based XRMS CRMS

2009-05-15 Thread Ivaylo Boiadjiev
Hi, Everyone! First of all, I would like to thank everyone who responded to this earlier post of mine through Nabble: Am I up the creek without a paddle?. Special thanks to Darrel Lipman's prompt and funny, yet thoroughly detailed re

[qooxdoo-devel] Data Binding with a RadioGroup

2009-05-15 Thread Jean-Noël Rivasseau
Hi, I am sure Martin will come up with a clever solution to my problem ;) - his last suggestions worked perfectly. I have not been able to make data binding work with a RadioGroup containing radio buttons. My problem is the following: I have a value, that is nullable, that can take a set of pre

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

2009-05-15 Thread Michael Helwig
Hi, I have finally managed to deal with this problem. I figured out that a reload fires two dataChanged events: one is fired after retrieving the current number of rows, the second after reloading the data. So I added two event listeners to the remote model, the second of which calls my method

Re: [qooxdoo-devel] short xml question

2009-05-15 Thread Michael Helwig
Hi Daniel, you are right: I somehow messed up the xpath argument when posting. I tried the code I had posted in the playground and it yielded "null", as you exptected. I have now modified the code according to your suggestions - it works! The code now looks like this: var tables = qx.xml.Eleme

[qooxdoo-devel] Dynamically sizing icons on components

2009-05-15 Thread Vincent Vandenschrick
Hi list, I'm quite new to Qooxdoo but I'm trying hard... I was wondering if there was some best practice for dynamically resizing icons for Atom based components, windows captions, and so on. For instance, I have a remote bank of single sized images that I access through http and I would like to

Re: [qooxdoo-devel] Problem when changing a table model

2009-05-15 Thread Bryan Coutch
In 0.7.X, using table.setMetaColumnCounts( [ cols.length ] ) has worked for us after we change table models, it forces the columns to be recreated. -Original Message- From: Christian Schmidt [mailto:schmidt.christ...@1und1.de] Sent: Friday, May 15, 2009 3:41 AM To: qooxdoo Development Su

Re: [qooxdoo-devel] Error in build version - generic query

2009-05-15 Thread Andreas Ecker
Hi Amit! > I have to do this patch, else the column visibility button in Table gets > shown twice. This has been patched in v0.8.1 but it has some other > errors so I am using v0.8 only. Are you talking about bugs that 0.8.1 has, but 0.8 doesn't?? If you are aware of any defects that have not b

Re: [qooxdoo-devel] short xml question

2009-05-15 Thread Daniel Wagner
Hi Michael, I just tried to reproduce the problem in the Playground but got null instead of the first node's text. That's actually correct, because in your call to getSingleNodeText you're asking for the text of another node called "name" which is a child of the root element for the search (th

[qooxdoo-devel] short xml question

2009-05-15 Thread Michael Helwig
Hello, I'm having problems with xml processing. Since I haven't worked much with XML, it's probably a very basic mistake, but I don't see what's wrong. So here is the XML: firstTable secondTable and the following code is supposed to select the name-entry of the second

Re: [qooxdoo-devel] Seperation of SDK build from Application build

2009-05-15 Thread Larouanne Tristan
thron7 a écrit : > Larouanne Tristan wrote: > >> (I'm sorry to dig this *old* thread) >> >> I just want to know if this is possible in some particular case. >> >> I have a custom RemoteDataModel with my table, and i want to use it inline >> in >> my webapp. >> I can build it without any proble

Re: [qooxdoo-devel] create class object in qooxdoo unit test problem!

2009-05-15 Thread Martin Dobrev
Hi Chris, I am using Qooxdoo 0.8.2 on Windows XP. Because of the changes that I made to my initial project, I decided to create the project again. This time I do not get any errors. It is very strange... but finally I can proceed with my Unit Tests :) I should have made that earlier. Anyway thanks

Re: [qooxdoo-devel] Bidirectional binding with array element

2009-05-15 Thread Dacquay, Eric
Hi Martin, Here is the scenario: I have a select box which is populated with a list of entries (ListItems in this case). Every ListItem has an associated display string and value. I am trying to create a bidirectional binding between on the value of the selected element and the bound variable.

Re: [qooxdoo-devel] create class object in qooxdoo unit test problem!

2009-05-15 Thread Christian Schmidt
Hi Martin, welcome to qooxdoo! :) Normally the unit tests (Test Runner) runs without changing the config.json or something like that. Could you please send the unit test and the myapp.SomeClass class. This make it easier to reproduce your problem. Witch qooxdoo version and operating system do

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread Martin Wittemann
Hello Christian, the data array itself is not the performance killer which does attach listeners to anything. The only thing it does additionally to the native array is to offer the convenience methods and wrap the original methods to throw events on changes. Thats it. But if you want to bui

Re: [qooxdoo-devel] Seperation of SDK build from Application build

2009-05-15 Thread thron7
Larouanne Tristan wrote: > kanugula barcap.com> writes: > >> Hugh Gibson wrote: >> Is it possible to seperate the SDK's genarated .js code away from custom.js in case of make build? E.g., I don't want to have sdk's code inside custom.js when I build it.

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread panyasan
Sorry, forgot your other question: Martin Wittemann wrote: > > Have you wasted some > thoughts about how you want to handle the selection? Do you plan to > handle the selection in your controller? > So far, selection information is not propagated through events, since it is assumed that t

[qooxdoo-devel] create class object in qooxdoo unit test problem!

2009-05-15 Thread Martin Dobrev
Hello, i'm desperately trying to run a simple unit test with qooxdoo testing environment. Maybe it will be easier to explain the problem by describing what I did. First I created a basic Hello World application named "myapp" as explained in the documentation. After that I created another "SomeClass

Re: [qooxdoo-devel] Seperation of SDK build from Application build

2009-05-15 Thread Larouanne Tristan
kanugula barcap.com> writes: > Hugh Gibson wrote: > > > >> Is it possible to seperate the SDK's genarated .js code away from > >> custom.js > >> in case of make build? > >> E.g., I don't want to have sdk's code inside custom.js when I build > >> it. > > > > I'm not sure that is a great idea. >

Re: [qooxdoo-devel] Overriding member function via Mixin

2009-05-15 Thread Matthew Gregory
Sorry for taking my time to do this, I've been on holiday. http://bugzilla.qooxdoo.org/show_bug.cgi?id=2382 Fabian Jakobs wrote: > Hi Matthew, >> H.. >> The problem though is this Mixin is included in about half of our >> classes. If I understand correctly to use the qx.Class.patch() method

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread panyasan
Hello Martin, Martin Wittemann wrote: > > Why do you think the qx.data.Array does not scale with huge data? I > guess that should be no problem as it uses the native array to store > the data. But perhaps i have overseen something. > Maybe I am wrong, but I assumed that there is a massive

Re: [qooxdoo-devel] Error in build version - generic query

2009-05-15 Thread Martin Wittemann
Hello Amit, as you said right, what you were trying to do is against the OO concepts. Because of that, the qooxdoos generator takes the liberty of optimizing such code, which means renaming the private fields to something completely different. That way, such code you demonstrated does not

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread A.Yerenkow
On 15.05.2009 10:56, panyasan wrote: > I found the root of the problem with a little thinking. Why would a build > version fail when the source works? The reason is, as so often, the evil > "eval". When I eval strings containing variable names, and the build > generator job optimizes the variable n

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread Martin Wittemann
Hello Christian, nice work. The demo application looks impressive. Have you wasted some thoughts about how you want to handle the selection? Do you plan to handle the selection in your controller? Why do you think the qx.data.Array does not scale with huge data? I guess that should be no pr

Re: [qooxdoo-devel] Databinding for TreeVirtual - Finally working

2009-05-15 Thread panyasan
I found the root of the problem with a little thinking. Why would a build version fail when the source works? The reason is, as so often, the evil "eval". When I eval strings containing variable names, and the build generator job optimizes the variable names, it will no longer work. Duh. So may I

Re: [qooxdoo-devel] Problem when changing a table model

2009-05-15 Thread Christian Schmidt
Hi Nathan, I'm not a table expert, but as far as I know it isn't possible to change a model with less columns. A workaround could be to set the not needed columns to invisible, so the model has always the same number of columns. Cheers, Chris Nathan Hadley schrieb: > > Hello all, > > > > I a

Re: [qooxdoo-devel] Bidirectional binding with array element

2009-05-15 Thread Martin Wittemann
Hello Eric, on which widget are you using the new selection API? Could you supply some more details on your issue, please? Perhaps I can have a suggestion on how i would solve this after i did understand the whole problem / context. Best, Martin Am 14.05.2009 um 18:40 schrieb Dacquay, Eri

Re: [qooxdoo-devel] Am I up the creek without a paddle?

2009-05-15 Thread ITgopher
Hi, again! First of all, I would like to thank everyone for their quick and informative responses and a special 'Thank you!' to Derrell for the excellent information on the PHP RPC. Got the RPC working beautifully, thank you! Encouraged by your responses, I have been playing around with qooxdoo