Re: [qooxdoo-devel] How to Clone Tree Data

2010-01-05 Thread panyasan
Derrell Lipman wrote: > > The whole purpose of having bSelected in the data > model is to allow the user to pre-select certain nodes. > Since I am rewriting the SimpleTreeDataModel for databinding currently, I wonder: doesn't this also apply for bOpened? Shouldn't a separate index be kept for

Re: [qooxdoo-devel] Possibility to optimize the generation of Qooxdoo object?

2010-01-05 Thread Ilkka Oksanen
I think I will first try to create my big list in parts. Indeed it not critical to have all the list items visible right from the beginning. Instead I can use a timer to split this heavy operation to smaller tasks and so give the other parts execution time while the timer is running. Should have fi

Re: [qooxdoo-devel] Possibility to optimize the generation of Qooxdoo object?

2010-01-05 Thread thron7
Could it be an idea to use qx.ui.table.Table instead, as Table is already virtual?! I might be wrong but I think Table already employs re-use of row structures. T. Ilkka Oksanen wrote: Hi, I have made an Qooxdoo application which in some situations will show lots of LitsItems (>300) in the

Re: [qooxdoo-devel] qx.bom.Selector.query dosen't matches pseudo-elements?

2010-01-05 Thread Vincent Bernardi
> Looking at my firebug console it does NOT show the added content of the CSS > selectors in the DOM view. I can also NOT get the elements with normal DOM > operations, so I guess a CSS selector engine is also NOT capable to do it. > But > I can also be wrong. > > If we can't get a quick solut

Re: [qooxdoo-devel] Possibility to optimize the generation of Qooxdoo object?

2010-01-05 Thread Alexander Steitz
On Tuesday 05 January 2010 16:19:44 Ilkka Oksanen wrote: > I have made an Qooxdoo application which in some situations will show lots > of LitsItems (>300) in the initial UI view after startup. This will lead to > slow initial rendering. One option to solve the problem is of course to > change the

Re: [qooxdoo-devel] qx.bom.Selector.query dosen't matches pseudo-elements?

2010-01-05 Thread Alexander Steitz
Hi Vincent, On Tuesday 05 January 2010 14:56:09 Vincent Bernardi wrote: > qx.bom.Selector.query("#myid:before"); > > won't return the element with id myid in its return array (Qx 1.0, FF > 3.5.6). Could anyone tell me if that is the intended behavior? If yes, > what would be the correct way to

Re: [qooxdoo-devel] Howto configure " generate.py" in Eclipse External Tools?

2010-01-05 Thread Qoodary Doo
Hi Thomas, thanks again. I tried all the thing you told me. I also tried it with my batch file which is working if I execute it in Dos Prompt. But if I execute the batch file in External Tools of Eclipse no Build is done. So I give up because it is not a big problem. I will make the Build of my p

Re: [qooxdoo-devel] Load class and dependency on runtime

2010-01-05 Thread Petr Kobalíček
Hi Chris, only short message, I'm going to take the bus:) Qx loader is part of qxbuild and it's accessible through svn: http://code.google.com/p/qxbuild/source/browse/trunk/qxbuild/helpers/qx-loader.js . It's small code I'm using to load qooxdoo and my .js files. 2010/1/4 Chris R. : > Hi Petr, >

[qooxdoo-devel] Possibility to optimize the generation of Qooxdoo object?

2010-01-05 Thread Ilkka Oksanen
Hi, I have made an Qooxdoo application which in some situations will show lots of LitsItems (>300) in the initial UI view after startup. This will lead to slow initial rendering. One option to solve the problem is of course to change the UI design but I wouldn't like to do that. Are there other op

Re: [qooxdoo-devel] How to Clone Tree Data

2010-01-05 Thread Derrell Lipman
On Tue, Jan 5, 2010 at 09:51, wrote: > Thx, > > but is this behavior a bug or not? > I don't see any bug, although you might argue there is a missing feature. We could conceivably add a method to clone the data model of a tree, and that method would reset the selected flag of any nodes that were

Re: [qooxdoo-devel] How to Clone Tree Data

2010-01-05 Thread info
Thx, but is this behavior a bug or not? regards Sak > On Tue, Jan 5, 2010 at 05:32, wrote: > >> Hi Derrell, >> >> as you wished i wrote a little playground script, please select one >> branch >> at the left and thank click to copy button. After taht please click any >> branch at the right side.

Re: [qooxdoo-devel] Bind tree controller to a composite container

2010-01-05 Thread MartinWittemann
Hi Rickard, first of all, welcome to qooxdoo! :) Yes, writing your own controller would be the way to go. We do have some default controllers but non for the virtual gallery widget. A first hint: As you can imagine because the code of the gallery is in a demo, the widgets is far from stable so p

Re: [qooxdoo-devel] How to Clone Tree Data

2010-01-05 Thread Derrell Lipman
On Tue, Jan 5, 2010 at 05:32, wrote: > Hi Derrell, > > as you wished i wrote a little playground script, please select one branch > at the left and thank click to copy button. After taht please click any > branch at the right side. > > You'll see what i ment. > Yes, I see what you meant. As I ha

[qooxdoo-devel] qx.bom.Selector.query dosen't matches pseudo-elements?

2010-01-05 Thread Vincent Bernardi
Hi everyone, it seems that qx.bom.Selector.query("#myid:before"); won't return the element with id myid in its return array (Qx 1.0, FF 3.5.6). Could anyone tell me if that is the intended behavior? If yes, what would be the correct way to do query the dom for the element with id myid, given s

Re: [qooxdoo-devel] Modern theme broken in trunk

2010-01-05 Thread Petr Kobalíček
Hi Martin, no extra code needed, it was probably wrong some textfield related stuff (every demo that where is textfield should be broken). I will check for today trunk and reply here if problem still exists. On Tue, Jan 5, 2010 at 8:57 AM, MartinWittemann wrote: > > Hi Petr, > I just checked th

Re: [qooxdoo-devel] Howto configure " generate.py" in Eclipse External Tools?

2010-01-05 Thread thron7
Qoodary wrote: > Hi Thomas, > many thanks to your help. > > I tried it like you describe > External Tool Configuration: > Location: D:\PA\Qooxdoo\tool\bin\generator.py > Working: ${container_loc} > Arguments: build > > Then I click on the top-level folder of my project > and run the external tool

Re: [qooxdoo-devel] [just to share] Python performance tips

2010-01-05 Thread thron7
Thanks for the link, JBB. T. Jean-Baptiste BRIAUD -- Novlog wrote: > http://wiki.python.org/moin/PythonSpeed/PerformanceTips > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of V

Re: [qooxdoo-devel] Howto configure " generate.py" in Eclipse External Tools?

2010-01-05 Thread Qoodary
Hi Thomas, many thanks to your help. I tried it like you describe External Tool Configuration: Location: D:\PA\Qooxdoo\tool\bin\generator.py Working: ${container_loc} Arguments: build Then I click on the top-level folder of my project and run the external tool Build. But it runs into an error: e

[qooxdoo-devel] Bind tree controller to a composite container

2010-01-05 Thread Rickard Claeson
Hi there! I'm totaly new too qooxdoo so please, bear with me. I have created a horizontal pane. On the left side I have added a Tree (loaded with a store). On the right side I have added a Gallery (composite container). The Gallery I've taken from the Demo ( http://demo.qooxdoo.org/devel/demobro

[qooxdoo-devel] [just to share] Python performance tips

2010-01-05 Thread Jean-Baptiste BRIAUD -- Novlog
http://wiki.python.org/moin/PythonSpeed/PerformanceTips -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to marke

Re: [qooxdoo-devel] Howto configure "generate.py" in Eclipse External Tools?

2010-01-05 Thread thron7
Hi Qoodary, if my Eclipse experience holds, here are several hints that might be worthwhile: > I tried following: > Menu External Tools Configuration > Name: QXMakeSource > Location: ${workspace_loc} > The "Location" needs the full path to the executable you want to run. So e.g. if you wante

Re: [qooxdoo-devel] How to Clone Tree Data

2010-01-05 Thread info
Hi Derrell, as you wished i wrote a little playground script, please select one branch at the left and thank click to copy button. After taht please click any branch at the right side. You'll see what i ment. regards Sak P.S. Like i wrote at last year, the tree Gui is broken under the column vi

Re: [qooxdoo-devel] Disabling HtmlArea

2010-01-05 Thread Alexander Steitz
Hi Jörg, On Thursday 24 December 2009 04:06:19 Jörg Sawatzki wrote: > anyway, thanks for your answer... Do you have any idea how else I could > block that widget? Some dirty workaround maybe? It's really confusing > for users if the toolbar and everything is disabled and they can still > edit the

Re: [qooxdoo-devel] Problems with the appearance of Qooxdoo

2010-01-05 Thread Wolfgang Zak
Hey thron7, Thanks for your quick reply! Unfortunately we don't have publicly accessible urls. We are working with qooxdoo version 1.0 but we also had the problems with version 0.8. We updated it just some days ago. We tested it with ie 7 and 8, firefox and chrome. We got similar problems with

Re: [qooxdoo-devel] qooxdoo-contrib: cometd, Dialog and VirtualData

2010-01-05 Thread benco
panyasan wrote: > > I just changed the demo to use 100.000 "spam messages". To generate them, > you need a nested loop with timeouts: > > var x =0; > for (var j = 1; j < 100; j++ ) > { > qx.event.Timer.once(function(){ > for (var i = 1; i < 1000; i++) >

Re: [qooxdoo-devel] How to prevent changing Page in tabview

2010-01-05 Thread skar
Hi Luke, > thanks for help. I also thought about the possibility to change the view > back to the unsaved one, but I have a quite big pages in tabview and this > solution would create undesired delay (at least at some points). Your > solution with the "skip changes" button sounds interesting... But

Re: [qooxdoo-devel] Min Browsersize?

2010-01-05 Thread Alexander Steitz
Hi Guilherme, On Monday 04 January 2010 18:16:42 Guilherme Aiolfi wrote: > But I see some sites resizing the current window to a fixed size. And if > you maximized your windows or tried to resize the window, it would came > back to that pre defined size. So, it is possible. But I think its to >

[qooxdoo-devel] Howto configure "generate.py" in Eclipse External Tools?

2010-01-05 Thread Qoodary
Hello, I am new to Qooxdoo and also to Eclipse :-) So sorry in advance for my beginner questions. I use Zend Studio 7.1 with Aptana on Windows Xp. I have loaded the Qooxdoo Hello World example into an new project in Eclipse. I can generate source and build version within a dos prompt. But I want

Re: [qooxdoo-devel] qx.ui.basic.Image() bug?

2010-01-05 Thread Alexander Steitz
Hi Sak, On Tuesday 22 December 2009 12:38:40 i...@saksys.de wrote: > before 1.0 it was able to set .setDecorator("button") for > qx.ui.basic.Image() objects, but now the picture is not visible anymore. > If i comment .setDecorator("button") the picture is visible again. > > May bee a bug? It woul

Re: [qooxdoo-devel] removeAll()

2010-01-05 Thread Alexander Steitz
On Tuesday 22 December 2009 12:24:32 i...@saksys.de wrote: > in 1.0 you deprecated may functions. I think i understand why. You're > trying to homogenise all functions. > So e.g. you changed .getSelected() method to .getSelection() for Tabviews, > but why you dont allow to you .removeAll() in conta

Re: [qooxdoo-devel] Binding Data from a JSON store to simple labels

2010-01-05 Thread MartinWittemann
Good Morning Michael, If the data binding can determinate the model used for the conversion, there is a second parameter in the converter containing the corresponding model. But this only works using the list or tree controller. Take a look at the NamesList demo in the qooxdoo demobrowser: http