Re: [qooxdoo-devel] listen to the event when table header is clicked to toggle sort asc/desc

2009-08-21 Thread Derrell Lipman
On Fri, Aug 21, 2009 at 09:57, skar wrote: > Hi, > > I've got a table and I want to listen to the event when a table's column > header is clicked to toggle sort asc/desc. I plan to get the data from > the server when the sort order is changed and I'm using a pagination > kind of table, not the qo

Re: [qooxdoo-devel] Representing a large object as a Tree

2009-08-21 Thread aditya siram
That worked! Awesome, thanks! -deech On Fri, Aug 21, 2009 at 4:27 PM, Guilherme Aiolfi wrote: > Hi, > try to use TreeVirtual: > http://demo.qooxdoo.org/devel/demobrowser/#treevirtual~TreeVirtual.html >

Re: [qooxdoo-devel] Representing a large object as a Tree

2009-08-21 Thread Guilherme Aiolfi
Hi, try to use TreeVirtual: http://demo.qooxdoo.org/devel/demobrowser/#treevirtual~TreeVirtual.html Because 5000 IS a big number for web applications. On Fri, Aug 21, 2009 at 6:03 PM, aditya siram wrote: > Hi all, > I have a

[qooxdoo-devel] Representing a large object as a Tree

2009-08-21 Thread aditya siram
Hi all, I have a question on the efficiency of iterating through an object. I am making a small dictionary web-app. The dictionary contains ~5000 words. On start-up I get the entire list, indexed by letter, from the server and store it in memory. The list comes as a JSON object that looks like: {

Re: [qooxdoo-devel] Still getting "widgetTarget is null" runtime error

2009-08-21 Thread larry blische
Thanks Matt but I just tried commenting out the open() and close() functions. Without them the mouseup event is not blocked, I get the alert in the mouseup listener when I click on the root window. So I guess setModal(true) doesn't block everything. I do not get the error when these functions ar

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
Thanks for you time, its solved. (see othe message) Gene Amtower schrieb: > Dimitri, > > The column indexes are 0-based. Did you really mean column 3 in the > comment, as you've used a column index of 3 in the setDataCellRenderer > method, or did you just mean the column with index number 3. I

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
Oh i got my mistake. No value in cell = no checkbox, wasnt aware of this, no idea why. Thanks you alot =) Stefan Volbers schrieb: > Hi Dimitri, > > you should keep in mind that the boolean cell renderer does only render > boolean values. > > Try the following in playground (0.8.2-SDK): > >

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Gene Amtower
Dimitri, The column indexes are 0-based. Did you really mean column 3 in the comment, as you've used a column index of 3 in the setDataCellRenderer method, or did you just mean the column with index number 3. I wonder if this should be as follows: tcm.setDataCellRenderer(2, new qx.ui.table.cell

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Stefan Volbers
Hi Dimitri, you should keep in mind that the boolean cell renderer does only render boolean values. Try the following in playground (0.8.2-SDK): var doc = this.getRoot(); var tm = new qx.ui.table.model.Simple(); tm.setColumns(["one", "two", "three"]); tm.setData([["1", "2", true],["3","4

[qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
Hi, i do have a problem with and just can see my mistake. var tcm = table.getTableColumnModel(); // Display a checkbox in column 3 tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean()); doenst matter what i do, i have NO checkboxes. for example: tcm.setHeaderCellRenderer(2, new qx.

Re: [qooxdoo-devel] [PATCH] patches for hijax contrib

2009-08-21 Thread thron7
Hi Heiko, thanks for all the stuff you sent (it worked :). As we are managing all changes through our issue tracker it would be great if you could create a new bug for each patch in our bugzilla and add the corresponding patch as an attachment. This way we can feed your patches in our workflow.

Re: [qooxdoo-devel] Accessing A Nested Widget

2009-08-21 Thread aditya siram
But say I have a method that returns a deeply nested container that contains a tree somewhere, is there anyway to get to that tree after the method has been returned? thanks ... -deech On Fri, Aug 21, 2009 at 1:10 AM, MartinWittemann wrote: > > Hi, > > this really depends on your setup of the tre

[qooxdoo-devel] [PATCH 2/3] option to update more than one dom-element, when defining domElem as array

2009-08-21 Thread qooxdoo-ml
From: Heiko Stuebner --- source/class/hjx/Hijax.js | 24 +--- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/source/class/hjx/Hijax.js b/source/class/hjx/Hijax.js index 4765da9..669471c 100644 --- a/source/class/hjx/Hijax.js +++ b/source/class/hjx/Hijax.js

[qooxdoo-devel] [PATCH] patches for hijax contrib

2009-08-21 Thread qooxdoo-ml
Hi all, during the last days I expanded the hijax-contrib a bit for our use and would like to present these changes to a wider audience. Perhaps someone wants to commit them to the contrib-svn. Included in the followup-mails are: [PATCH 1/3] option to limit the capturing of links to specific pag

[qooxdoo-devel] [PATCH 3/3] option to send the ids of the parts that should be updated to the server this enables an intelligent server to create only the needed parts of the page resulting in a possi

2009-08-21 Thread qooxdoo-ml
From: Heiko Stuebner --- source/class/hjx/Hijax.js | 24 ++-- 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/source/class/hjx/Hijax.js b/source/class/hjx/Hijax.js index 669471c..5633924 100644 --- a/source/class/hjx/Hijax.js +++ b/source/class/hjx/Hijax.js

[qooxdoo-devel] [PATCH 1/3] option to limit the capturing of links to specific page-parts using a new _capture setting specifying XPath-expressions

2009-08-21 Thread qooxdoo-ml
From: Heiko Stuebner --- source/class/hjx/Hijax.js | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/source/class/hjx/Hijax.js b/source/class/hjx/Hijax.js index 6d07952..4765da9 100644 --- a/source/class/hjx/Hijax.js +++ b/source/class/hjx/Hijax.js @@ -86,8 +86,1

Re: [qooxdoo-devel] Still getting "widgetTarget is null" runtime error

2009-08-21 Thread Matthew Gregory
Just tried in the playground and if remove your open and close functions and all should be well. setModel(true) automatically blocks the root Not sure why it causes the error though. Larry K Blische wrote: > I think I replied with this problem to the 'solved' forum and it may have > been overloo

[qooxdoo-devel] listen to the event when table header is clicked to toggle sort asc/desc

2009-08-21 Thread skar
Hi, I've got a table and I want to listen to the event when a table's column header is clicked to toggle sort asc/desc. I plan to get the data from the server when the sort order is changed and I'm using a pagination kind of table, not the qooxdoo model where the scroll bar is set at the appropria

[qooxdoo-devel] Still getting "widgetTarget is null" runtime error

2009-08-21 Thread Larry K Blische
I think I replied with this problem to the 'solved' forum and it may have been overlooked so I am trying again. Below is an example of what my problem is. Here are two classes, an app class and my modal window class. I have several classes which extent the ModalWindow class. This is done to provi

Re: [qooxdoo-devel] Problems when hovering SelectBox / ComboBox / CheckBox

2009-08-21 Thread MartinWittemann
Hello Daniel, a message box like an alert with two buttons is a confirm. Maybe its a good idea to search for confirm in all your code. I took a look at the framework code and we dont have any confirm call in it. So it hast to be somewhere in your code, als you already thought. The same is true f

Re: [qooxdoo-devel] Table pagination and best practises

2009-08-21 Thread skar
Guilherme Aiolfi wrote: > jqGrid is fantastic. I loved that advanced search window. Thank you for the > link. > Yup jqGrid is indeed nice. I'd like something similar in qooxdoo. Maybe some day. cheers, skar. -- -- The life so short, the craft so long to learn.

Re: [qooxdoo-devel] Table pagination and best practises

2009-08-21 Thread Guilherme Aiolfi
jqGrid is fantastic. I loved that advanced search window. Thank you for the link. On Fri, Aug 21, 2009 at 8:30 AM, skar wrote: > Antoni Aloy wrote: > > Hello, > > > > I continue with my tests, I have done Django integration with json rpc > > and actually I'm trying to display a long table with Q

[qooxdoo-devel] Problems when hovering SelectBox / ComboBox / CheckBox

2009-08-21 Thread Daniel Hirtzbruch
Hello, 2nd attempt - I don't know why all formatting was lost and I hope the mail remains formatted now. I got a serious problem when using qx.ui.form.SelectBox / ComboBox / CheckBox. I got several of these boxes in my app and something must be wrong with my code I think. When hovering one of

[qooxdoo-devel] Problems when hovering SelectBox / ComboBox / CheckBox

2009-08-21 Thread Daniel Hirtzbruch
Hello again, I noticed, when letting the browser window open the app does not stop allocating memory. After some 5 minutes it already needed about 800 MB of memory... TIA, Daniel Original Message Subject: Problems when hovering SelectBox / ComboBox / CheckBox (21-Aug-2009 13

[qooxdoo-devel] Problems when hovering SelectBox / ComboBox / CheckBox

2009-08-21 Thread Daniel Hirtzbruch
Hello, I got a serious problem when using qx.ui.form.SelectBox / ComboBox / CheckBox. I got several of these boxes in my app and something must be wrong with my code I think. When hovering one of those boxes in the source version, I often get one of these two errors: - either a kind of message

Re: [qooxdoo-devel] Table pagination and best practises

2009-08-21 Thread skar
Antoni Aloy wrote: > Hello, > > I continue with my tests, I have done Django integration with json rpc > and actually I'm trying to display a long table with Qooxdoo. > > Is there any table with pagination control? I haven't seen it in the > demos. I suppose you could create the controls in the tab

Re: [qooxdoo-devel] Table pagination and best practises

2009-08-21 Thread Matthew Gregory
The remote table model is best for this IMHO. It first asks for row many rows there are in total and then sets up the scroll bar accordingly. It then asks for a range of rows as it needs them to display. The backend is similar to paging but the user interface is more fluent. Antoni Aloy wrote:

[qooxdoo-devel] Table pagination and best practises

2009-08-21 Thread Antoni Aloy
Hello, I continue with my tests, I have done Django integration with json rpc and actually I'm trying to display a long table with Qooxdoo. Is there any table with pagination control? I haven't seen it in the demos. I suppose you could create the controls in the table footer, but I don't want to

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Matthew Gregory
Matthew Gregory wrote: > Darrel: it gives the alerts from locations 1 then 4 then 2 and then 1 again. Sorry meant Derrel not Darrel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. S

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Matthew Gregory
Yes. I've confirmed this and it still exists in the trunk var rpc = new qx.io.remote.Rpc("jsonrpc", "ctweb"); rpc.callAsync(function() { throw "argh!"}, "system.describe"); This will cause the timeout Darrel: it gives the alerts from locations 1 then 4 then 2 and then 1 again. Hope that helps M

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
The condition where I had the issue was when an error seem to frooze the handler. How do I frooze the handler ? I was trying to setValue(12) on TextField thinking setValue handle any type (link to my other qyestion). In such a case, I was clearly able to see in firebug the request finished (e

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
On Aug 21, 2009, at 11:27 , Matthew Gregory wrote: > Jean-Baptiste BRIAUD -- Novlog wrote: >> That's really kind. >> By the way, what do you have to do to use "the trunk and then apply >> your patch" ? > > You will first need to check out from SVN See: > http://qooxdoo.org/documentation/general/c

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Matthew Gregory
Jean-Baptiste BRIAUD -- Novlog wrote: > That's really kind. > By the way, what do you have to do to use "the trunk and then apply > your patch" ? You will first need to check out from SVN See: http://qooxdoo.org/documentation/general/checking_out_from_svn I don't know how to apply a patch via

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Matthew Gregory
Jean-Baptiste BRIAUD -- Novlog wrote: > v can be seen as one column of a database table, whatever the column's > type is. OK, do you use dates? If so you want want to use qx.lang.Type.isDate(v) and then format it to whatever you prefer rather than use the default. > Knowing that, does String(v

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Matthew Gregory
Hi Again, Just tried this and couldn't reproduce it. It was deffinately a problem before as we had to put a work around in place to combat the issue (our callback handler just a proxy using qx.lang.Function.delay to do the real work). Looks like to me that this has already been fixed since 0.8.

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread skar
Hi Jean-Baptiste, > I guess there are some confusion here. > I'm not speaking about the field itself, witch I know for sure it is a > TextField. > I'm speaking about the variable that is used to set the value of the > TextField : setValue(the variable). > For that variable, I don't know the typ

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
On Aug 21, 2009, at 10:51 , Matthew Gregory wrote: > Hi Derrell and Jean-Baptiste, > Hi again, > We've experienced this problem before as well. The easiest way to test > this is with an alert in the handler. I'll try reproducing the problem > with the trunk and then apply your patch to see if it

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
Hi Skar, I guess there are some confusion here. I'm not speaking about the field itself, witch I know for sure it is a TextField. I'm speaking about the variable that is used to set the value of the TextField : setValue(the variable). For that variable, I don't know the type and it could be an

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
Thanks ! In fact, it work fine now. On Aug 21, 2009, at 09:23 , Jonathan Weiß wrote: > > Hello Hello Jean-Baptiste, > > > Jean-Baptiste BRIAUD -- Novlog wrote: >> >> is String(v) equivalent to v+"" when v=12 ? >> > > yes, it is. > > Cheers > Jonathan > > - > Jonathan Weiß > Framework Enginee

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
On Aug 21, 2009, at 10:31 , Matthew Gregory wrote: > Hi Jean-Baptiste > Been a while since I've replied to one of your posts :) > Hi Matt, > Jean-Baptiste BRIAUD -- Novlog wrote: >> This is because it is generic, I don't know the type of v. >> It could either be an integer (the case I had that p

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Matthew Gregory
Hi Derrell and Jean-Baptiste, We've experienced this problem before as well. The easiest way to test this is with an alert in the handler. I'll try reproducing the problem with the trunk and then apply your patch to see if it helps Matt Derrell Lipman wrote: > On Thu, Aug 20, 2009 at 09:45,

Re: [qooxdoo-devel] qx.io.remote.Rpc timeout question

2009-08-21 Thread Jean-Baptiste BRIAUD -- Novlog
On Aug 20, 2009, at 19:20 , Derrell Lipman wrote: On Thu, Aug 20, 2009 at 12:47, Jean-Baptiste BRIAUD -- Novlog > wrote: Hi Derrell, As you may remember, I'm using 0.8.2 via Petr's build with qooxdoo packaged in all-in-one javascript so it can be shared between qx applications and without

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Matthew Gregory
Hi Jean-Baptiste Been a while since I've replied to one of your posts :) Jean-Baptiste BRIAUD -- Novlog wrote: > This is because it is generic, I don't know the type of v. > It could either be an integer (the case I had that produced the bug) > or any other thing. This sounds a little concerni

Re: [qooxdoo-devel] Error with create-application.py

2009-08-21 Thread thron7
I found this page (http://www.python.org/download/mac/), which states that the "... overwhelming recommendation of the "MacPython" community is to upgrade your Python by downloading and installing a newer version from the Python standard release page." So that might speak for the compatibility

Re: [qooxdoo-devel] Error with create-application.py

2009-08-21 Thread thron7
G Harris wrote: > Thanks for the help! I had read the requirements, but for Mac OS, it > stated that everything was there. Unfortunately, Apple is a little > further behind on their Python upgrades than expected. The included > version of Python for OS X 10.4.11 is 2.3.5. (Confirmed by sim

Re: [qooxdoo-devel] TextField and more generally setValue question

2009-08-21 Thread Jonathan Weiß
Hello Hello Jean-Baptiste, Jean-Baptiste BRIAUD -- Novlog wrote: > > is String(v) equivalent to v+"" when v=12 ? > yes, it is. Cheers Jonathan - Jonathan Weiß Framework Engineer http://mysterycity.de/blog Blog - http://www.linkedin.com/in/jonathanrass LinkedIn - http://www.xing.com