Re: [qooxdoo-devel] Html table

2007-02-06 Thread Fabian Jakobs
[EMAIL PROTECTED] schrieb: > I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I > need > exactly html table. > >> I suggest that you look at using a GridLayout as a replacement for an HTML >> table. Check out the demos of it. >> > > And one more related question. H

Re: [qooxdoo-devel] Custom build and resource uri

2007-02-06 Thread Sergei Kolomiets
Hi Alexei, Thanks for response, but I have realised my own structure. Its looks like your structure. Also I have realized optimization of my classes. You are right, there are no complications. Regards, Sergei -- View this message in context: http://www.nabble.com/Custom-build-and-resource-ur

[qooxdoo-devel] Table sorting issue

2007-02-06 Thread Jim Hunter
When there is a row selected in the table and the user clicks a column header to sort it, the selected row goes away (no more selected row) and the highlighted row moves. This doesn't sound like a big deal until you have multiple grids on a page and the data from one grid is dependent on the selec

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:46, you wrote: > I think your issue is the use of 'this' inside the eventlistener. At that > point, 'this' might not refer to what you think it does. I suggest creating > a variable of 'this' prior to the eventlistener code and use the variable > inside the function

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
I think your issue is the use of 'this' inside the eventlistener. At that point, 'this' might not refer to what you think it does. I suggest creating a variable of 'this' prior to the eventlistener code and use the variable inside the function. That should clear up any ambiguity it might have. Ji

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:11, you wrote: > var element = document.getElementById(id); > > the above line will not work until the object has been rendered. At the > point you are trying to use it, the object has been created but not > rendered. You need to place the entire for loop into a fun

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
No, it only helps after the page is rendered and you want to add something to it. Sometimes when trying to add new objects to an already rendered page, the objects don't seem to update properly or display at all (it's rare). In those cases, adding the flush globals call can help nudge qooxdoo into

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:11, you wrote: > var element = document.getElementById(id); > > the above line will not work until the object has been rendered. At the > point you are trying to use it, the object has been created but not > rendered. You need to place the entire for loop into a fun

Re: [qooxdoo-devel] Table movement using the keyboard

2007-02-06 Thread Jim Hunter
Yes, that did the trick! Thanks, Jim On 2/6/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: "Jim Hunter" <[EMAIL PROTECTED]> writes: > When the table was first being developed, you could move the highlighted row > up and down the table using the keyboard then select a row by hitting ENTER >

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
var element = document.getElementById(id); the above line will not work until the object has been rendered. At the point you are trying to use it, the object has been created but not rendered. You need to place the entire for loop into a function that is called in the layout event 'appear'. This

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
> This should work. But this is really not a thing qooxdoo supports. > The element property can be seen as protected - even if not declared > as this currently. Unfortunatelly, this code doesn't work (getElementById always returns null). Maybe I'm doing something wrong? Could you plz correct me t

Re: [qooxdoo-devel] qx.io.remote.Request

2007-02-06 Thread zindel
> [EMAIL PROTECTED] writes: > > Yes. I know this, but status code is not enough for me. The text > > information given in the body (even in case of status codes: 500, 404 > > etc.) is very useful for me (it includes the error message to be shown to > > user) > > What about e.getData().getResponseHe

Re: [qooxdoo-devel] Table movement using the keyboard

2007-02-06 Thread Derrell . Lipman
"Jim Hunter" <[EMAIL PROTECTED]> writes: > When the table was first being developed, you could move the highlighted row > up and down the table using the keyboard then select a row by hitting ENTER > or (I think) SPACE. Now it seems that every time you move the row highlight, > the new row gets se

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Tuesday 06 February 2007 23:30, you wrote: > Just to satisfy my curiosity, why do you 'need' to use an html table? I > stopped using them years ago in favor of DIV's and CSS. What do you think > an html table gives you that a qooxdoo control or plain div's can't give > you? > > Jim Well, I have

Re: [qooxdoo-devel] qx.io.remote.Request

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > Yes. I know this, but status code is not enough for me. The text information > given in the body (even in case of status codes: 500, 404 etc.) is very > useful for me (it includes the error message to be shown to user) What about e.getData().getResponseHeaders()? Do

[qooxdoo-devel] Table movement using the keyboard

2007-02-06 Thread Jim Hunter
When the table was first being developed, you could move the highlighted row up and down the table using the keyboard then select a row by hitting ENTER or (I think) SPACE. Now it seems that every time you move the row highlight, the new row gets selected. Is there a setting for this or something

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
Just to satisfy my curiosity, why do you 'need' to use an html table? I stopped using them years ago in favor of DIV's and CSS. What do you think an html table gives you that a qooxdoo control or plain div's can't give you? Jim On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Sebasti

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
Hi Sebastian, I see, but I really need this functionality working, since I need the html table, which has great positioning abilities. Thanks, Alexei Golovko > This should work. But this is really not a thing qooxdoo supports. > The element property can be seen as protected - even if n

Re: [qooxdoo-devel] qx.io.remote.Request

2007-02-06 Thread zindel
Yes. I know this, but status code is not enough for me. The text information given in the body (even in case of status codes: 500, 404 etc.) is very useful for me (it includes the error message to be shown to user) > [EMAIL PROTECTED] writes: > > I noticed that when the Request is "failed" ther

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Sebastian Werner
This should work. But this is really not a thing qooxdoo supports. The element property can be seen as protected - even if not declared as this currently. Sebastian Am 06.02.2007 um 21:45 schrieb [EMAIL PROTECTED]: > Thanks for your help, Derrell. > I have one more question - will this code

Re: [qooxdoo-devel] qx.io.remote.Request

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > I noticed that when the Request is "failed" there are no data in > e.getData().getContent() (in "failed" handler)? I'm sure that content > exists there (at least, Firebug shows me), but qooxdoo doesn't ... I think what you want is e.getData().getStatusCode() which prov

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > Thanks for your help, Derrell. > I have one more question - will this code work: > > var test = document.getElementById('test'); > var btnRun = new qx.ui.form.Button('Run!'); > btnRun.set({...}); > qx.ui.core.Widget.flushGlobalQueues(); > > test.appendChild(btnRun.getE

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
Thanks for your help, Derrell. I have one more question - will this code work: var test = document.getElementById('test'); var btnRun = new qx.ui.form.Button('Run!'); btnRun.set({...}); qx.ui.core.Widget.flushGlobalQueues(); test.appendChild(btnRun.getElement()); > > And one more related questi

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I > need > exactly html table. >> I suggest that you look at using a GridLayout as a replacement for an HTML >> table. Check out the demos of it. > > And one more related question. Here is the pi

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I need exactly html table. > I suggest that you look at using a GridLayout as a replacement for an HTML > table. Check out the demos of it. And one more related question. Here is the piece of code: var test = document.getEl

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
I suggest that you look at using a GridLayout as a replacement for an HTML table. Check out the demos of it. Jim On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Is there a simple (or, actually, any) way to use html table like qooxdoo's native layout? And in general, is it possible

Re: [qooxdoo-devel] Another quick NumberFormat.js bug/question.

2007-02-06 Thread MootCycle
My bad, this is already corrected in the SVN copy of this file. I was looking at an older local download of the 0.6.5 release. Sorry about that. -Dan -- View this message in context: http://www.nabble.com/Another-quick-NumberFormat.js-bug-question.-tf3182071.html#a8831227 Sent from the qooxdoo-d

[qooxdoo-devel] Another quick NumberFormat.js bug/question.

2007-02-06 Thread MootCycle
Currently in NumberFormat.js, we have: > 91 if (num != 0) { // Math.log(0) = -Infinity > 92 var integerStr = numStr.substring(0, integerDigits); > 93 } else { > 94integerDigits = 1; > 95 } > 96 > 97 var numStr = "" + num; > I think that the variable declaration for numStr should appe

Re: [qooxdoo-devel] Obfuscation of variables

2007-02-06 Thread Fabian Jakobs
Hello Hugh, >> Finally we need another approach to do obfuscation >> right. Maybe we can take a look at this again after the class >> definition changes of qooxdoo 0.7. >> > > I noticed that obfuscation has been removed in SVN. > > I have been thinking about another approach to this which

Re: [qooxdoo-devel] bug in window.centerToBrowser?

2007-02-06 Thread Philipp Wabinski
Sorry for the spam, Thanks for the answer! I´ll spend more time in searching Phillipp -- View this message in context: http://www.nabble.com/bug-in-window.centerToBrowser--tf3175665.html#a8827991 Sent from the qooxdoo-devel mailing list archive at Nabble.com. --

[qooxdoo-devel] qx.ui.form widgets overhanging List visualization problem

2007-02-06 Thread Marco.F
Hi list, Working with an internal window composed of qx.ui.form.TextField, qx.ui.form.PasswordField and qx.ui.form.ComboBox, I noticed a problem of visualization: when these widgets pass over some qx.ui.form.List widgets in the background layer (through moving the window over these qx.ui.form.Lis

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Sergei Kolomiets
Hi, Andreas Junghans wrote: > > > OK. Until now, it's only implemented in the Java backend anyway. If > you send a patch for the client part, I'll make the necessary changes > on the Java side. > > Regards, > >Andreas > > Ok, at the near future I'll send you changes. -- View this

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Andreas Junghans
Hi, Am 06.02.2007 um 15:08 schrieb Sergei Kolomiets: >> Yes, that would be better. As I said, the existing code was a quick >> kludge to get it working. At the moment, I don't have time to rework >> the code. However, if you submit a patch with the changes you'd like >> to see, I can have a look

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Sergei Kolomiets
Hi, Andreas Junghans wrote: > > > Yes, that would be better. As I said, the existing code was a quick > kludge to get it working. At the moment, I don't have time to rework > the code. However, if you submit a patch with the changes you'd like > to see, I can have a look at it and commit

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Andreas Junghans
Hi, Am 06.02.2007 um 14:34 schrieb Sergei Kolomiets: > Why you can't use instance of qx.core.ServerSettings class, loaded > with > others qx classes and setup it's properties during every > refreshSession > query? > > if (refreshSession) { > serverSettings.setServerPathSuffix(r

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Sergei Kolomiets
Hi, Andreas Junghans wrote: > > Hi, > > Am 06.02.2007 um 13:43 schrieb Sergei Kolomiets: > >> Function qx.io.remote.Rpc._callInternal() uses code: >> >> if (refreshSession) { >> result = eval("(" + result + ")"); >> var newSuffix = qx.core.ServerSettings.serverPathSuffix; >

Re: [qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Andreas Junghans
Hi, Am 06.02.2007 um 13:43 schrieb Sergei Kolomiets: > Function qx.io.remote.Rpc._callInternal() uses code: > > if (refreshSession) { > result = eval("(" + result + ")"); > var newSuffix = qx.core.ServerSettings.serverPathSuffix; > if (self._currentServerSuffix != newS

[qooxdoo-devel] Client-side "Download"

2007-02-06 Thread Martin Schaefer
Dear all, I'd like to generate a document of a specific mime-type on the client side and force the browser to open it with the appropriate helper application. In the concrete case I want to offer the user table data as CSV, which opens in a Spreadsheet application. Netscape used to have a docume

[qooxdoo-devel] RefreshSession vs. JSON-RPC Specifications

2007-02-06 Thread Sergei Kolomiets
Hi all! I have questions for Qooxdoo developers. Preamble: Function qx.io.remote.Rpc._callInternal() uses code: if (refreshSession) { result = eval("(" + result + ")"); var newSuffix = qx.core.ServerSettings.serverPathSuffix; if (self._currentServerSuffix != newSuffi

Re: [qooxdoo-devel] bug in window.centerToBrowser?

2007-02-06 Thread Tobias Koller (GERMO GmbH)
Sorry. Maybe I joined this list later cause I searched first ;) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sebastian Werner Gesendet: Dienstag, 6. Februar 2007 12:18 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] bug in window.centerToBr

[qooxdoo-devel] Html table

2007-02-06 Thread zindel
Hi Is there a simple (or, actually, any) way to use html table like qooxdoo's native layout? And in general, is it possible to easy embed table to the qooxdoo widget in the most "qooxdoo-native" way (for example, if I add new rows to table the parent layout auto-grows etc.) Could anyone sugges

Re: [qooxdoo-devel] custom build from 0.6.5. sdk, again

2007-02-06 Thread Sebastian Werner
As I see no one has already responded. "--include" works the same way as "--exclude" and excludes all dependencies, too. You can however use --exclude-without-dependencies instead. This should work. Greetings, Sebastian Rüdiger Herrmann schrieb: > Hi all, > > its me again, with a question re

Re: [qooxdoo-devel] bug in window.centerToBrowser?

2007-02-06 Thread Sebastian Werner
This was already multiple times in this list :) -- centerToBrowser depends that the widget is rendered previously if I remember correctly. This means you can try the following as an alternative: w1.addEventListener("appear", function(e) { this.centerToBrowser(); }); w1.add(vert); w1.open()

Re: [qooxdoo-devel] how to change Background of a window-Titlebar

2007-02-06 Thread Sebastian Werner
There is a backgroundImage property, too. It should also be listed in the API viewer. You can configure this property through the appearance theme, too. Sebastian Tobias Koller (GERMO GmbH) schrieb: > No ideas how to put an image in the background of a WindowTitlebar? > I also want to use Imag

Re: [qooxdoo-devel] how to change Background of a window-Titlebar

2007-02-06 Thread Tobias Koller (GERMO GmbH)
No ideas how to put an image in the background of a WindowTitlebar? I also want to use Images for the Window-Buttons. Thanks Tobias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller (GERMO GmbH) Gesendet: Mittwoch, 31. Januar 2007 10

Re: [qooxdoo-devel] Remote Text/Json

2007-02-06 Thread Tobias Koller (GERMO GmbH)
Thanks. I will try this. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hugh Gibson Gesendet: Samstag, 3. Februar 2007 05:46 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Remote Text/Json > When I try to run my application

Re: [qooxdoo-devel] Custom build and resource uri

2007-02-06 Thread zindel
Hi Sergey, Sorry that getting back to you took so long... Perhaps, you've already built your own skeleton. Anyway, I'm posting my own structure. Hopefully, it will help you. / make/ source/ class/ js/ resource/ hel

Re: [qooxdoo-devel] qx.io.remote.Request

2007-02-06 Thread zindel
Hi List, hi Sebastian Sorry for not responding for a long-time. I was ill and did't have access to the internet. > > I noticed that when the Request is "failed" there are no data in > > e.getData().getContent() (in "failed" handler)? I'm sure that content > > exists there (at least, Firebug show

Re: [qooxdoo-devel] disable sorting of a column in qx.ui.table.Table ?

2007-02-06 Thread Til Schneider
> Is there a way to disable sorting of a single column in a table? > > Something like setColumnSortable(0, false) ? This depends on the table model. Override the isColumnSortable method in order to decide which column should be sortable. -

Re: [qooxdoo-devel] Perl RPC - problems running

2007-02-06 Thread James Lavery
Hi Nick, Any more thoughts on this? I reeally want/need to get RPC going with Perl! James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Glencross Sent: 02 February 2007 12:03 To: qooxdoo Development Subject: Re: [qooxdoo-devel] Perl RPC - proble