Re: [qooxdoo-devel] Questions about Generator & Make Process

2007-07-27 Thread Philip Weaver
Thanks Sebastian. I'm really trying to gauge to what extent Qooxdoo with be able to detect and handle syntax error and runtime errors. It also seems that in the case of runtime errors Qooxdoo does not catch every error to the log. Some of them still show up in my JavaScript console instead of the

Re: [qooxdoo-devel] Questions about Generator & Make Process

2007-07-27 Thread Sebastian Werner
Currently it does not find all types of syntax errors. There is no built-in syntax validation yet. It is just a parser and tree generator. And even if some parts may not work you might not get errors from the parser yet. If you are interested in this please open a new bug report in our bugz

Re: [qooxdoo-devel] Questions about Generator & Make Process

2007-07-27 Thread Sebastian Werner
Hi Philip, welcome to qooxdoo. "make source" is quite fast when working with the cache. You can use it also to validate your files - this is correct. Only the first execution is a bit slower because it needs to parse and cache all files. After this it is OK to just check the modified files

Re: [qooxdoo-devel] Questions about Generator & Make Process

2007-07-27 Thread Philip Weaver
Thanks Sebastian. I am now seeing "make source" run quickly on subsequent runs. However, I put a syntax error in in Application.js of the skeleton and "make source" does not complain about any syntax error? Should the default MakeFile and "make source" check the syntax and complain if any syntax e

Re: [qooxdoo-devel] Endless-Loop in Widget.flushGlobalJobQueue

2007-07-27 Thread Sebastian Werner
Hi Stephanus, welcome to qooxdoo. I have not seen such an behavior yet. So please create a small (I mean as small as possible to reproduce) example and create a new bugreport at bugzilla.qooxdoo.org. Thank you for your feedback. Sebastian Am 27.07.2007 um 09:47 schrieb Stephanus Mueller:

[qooxdoo-devel] Questions about Generator & Make Process

2007-07-27 Thread Philip Weaver
I'm new to Qooxdoo. I understand that the make process of Qooxdoo can be used to check the syntax of a project. But what is the most efficient way to do this? When I run "make source" the script loads 415 (qooxdoo) source files and takes forever "resolving dependencies". What is the most efficient

Re: [qooxdoo-devel] TreeVirtual with checkboxes

2007-07-27 Thread Derrell Lipman
On 7/26/07, dperez <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to have a treevirtual with checkboxes to the left of the item > text, like in this screenshot. > http://www.nabble.com/file/p11810119/screenshot.gif > > What's the best way to do it? > I've thought about deriving from SimpleTree

[qooxdoo-devel] Endless-Loop in Widget.flushGlobalJobQueue

2007-07-27 Thread Stephanus Mueller
Hi there I'm a newbie to qooxdoo 0.7.1 and detected an endless-loop on entering the Widget.flushGlobalJobQueue-function. Maybe it's an application-error maybe it's an implementation problem. I instantiated a Gridlayout with 2 widgets, a label and a textfield. During startup the Widget.flushGlo

[qooxdoo-devel] Rendering of Widgets or Links in Table-Cells

2007-07-27 Thread Carsten Harnisch
I am looking for a smart way to render a button or a link within a table-cell. Basically I need something like some action icons (edit, view, delete, .) for each row. I did some hacking in building a CellRenderer, but as the table is HTML based the event-flow gets mixed up. Any idea howto do

Re: [qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread Derrell Lipman
On 7/27/07, dperez <[EMAIL PROTECTED]> wrote: > > Solved: > > Don't know if this is the best solution, but it works. > In the treeOpenWithContent event, I start a timeout to select the rows > associated to selected child nodes. That is likely your best option. Selections can only occur on nodes t

Re: [qooxdoo-devel] Table selection: MULTIPLE_INTERVAL_SELECTION_TOGGLE

2007-07-27 Thread Derrell Lipman
On 7/27/07, dperez <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to implement a new selection mode for table and treevirtual. > > ... > > The new mode I would like to add is: > > /** > * When the user clicks an item, its selection state is toggled. > * MULTIPLE_INTERVAL_SELECTIO

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
Hi Fabian, I executed the application in the source version and the error: response has no properties http://localhost:/qooxdoo-0.7.1-sdk/frontend/framework/source/class/qx/io/remote/Rpc.js Line 489 Att. Enaldo Amorim 2007/7/27, Enaldo Amorim <[EMAIL PROTECTED]>: > I think this format is be

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
I think this format is better!! function($t){var $r=$t.getData().getStatusCode();($t){var $r=$t.getData().getStatusCode(); $h=$p(qx.io.remote.Rpc.origin.transport,=$p(qx.io.remote.Rpc.origin.transport, $r,, qx.io.remote.Exchange.statusCodeToString($r));.io.remote.Exchange.statusCodeToString($r)

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
Hi Fabian, I'm sorry. * function*($t){*var* $r=$t.getData().getStatusCode(); $h=$p(qx.io.remote.Rpc.origin.transport, $r, qx.io.remote.Exchange.statusCodeToString($r)); $i=*this*.getSequenceNumber(); $l($[16], $c); }); $e.addEventListener($[20], * function*($t){*this*.debug("TIMEOUT OCC

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
Hi Fabian, I'm sorry. * function*($t){*var* $r=$t.getData().getStatusCode(); $h=$p(qx.io.remote.Rpc.origin.transport, $r, qx.io.remote.Exchange.statusCodeToString($r)); $i=*this*.getSequenceNumber(); $l($[16], $c); }); $e.addEventListener($[20], * function*($t){*this*.debug("TIMEOUT OCC

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Fabian Jakobs
Hi Enaldo, > The error occur in this line: > $i > =$k[$[919 ]]; I'm sorry but I need the context. At least 10 lines before and after this line. > In detailed code below show how it get in this line. > > When I try to run de source version I get the message "qx is not > defined". Could you tel

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
The error occur in this line: $i=$k[$[919]]; In detailed code below show how it get in this line. When I try to run de source version I get the message "qx is not defined". Could you tell me what I have to do??? 2007/7/27, Fabian Jakobs <[EMAIL PROTECTED]>: > > Enaldo Amorim schrieb: > > Hello

Re: [qooxdoo-devel] Using JSUnit to test custom component

2007-07-27 Thread Fabian Jakobs
Vishal Patel schrieb: > Hi, > > I am using qooxdoo 0.6.6 for my application. I have a layout and different > components are added on it. > > Let us say, I have a canvas layout and components like, a table, few > textfields and buttons are added. Now on add button click the values in the > textfiel

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Fabian Jakobs
Enaldo Amorim schrieb: > Hello Fabian, > > Thank you for your interest in help. I'm a newbie and I couldn't run > the application with the source version. The error and detail is below: > I think you should first get the source version up and running because developing with the build version

[qooxdoo-devel] Using JSUnit to test custom component

2007-07-27 Thread Vishal Patel
Hi, I am using qooxdoo 0.6.6 for my application. I have a layout and different components are added on it. Let us say, I have a canvas layout and components like, a table, few textfields and buttons are added. Now on add button click the values in the textfields are inserted into the table. And

Re: [qooxdoo-devel] resizer height

2007-07-27 Thread johnl
Unfortunately, the 'height' property doesn't actually change, as it is always 'auto,' so there is no event fired, at least in 0.7.1. I've modified my interface so that I don't need this event anymore, but it would be a nice one to have. Maybe I'll put an enhancement request into bugzilla. Davi

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Enaldo Amorim
Hello Fabian, Thank you for your interest in help. I'm a newbie and I couldn't run the application with the source version. The error and detail is below: $k has no properties http://localhost:/mkt/build/script/custom.js Line 11187 $k has no properties (no name)(qx.io.remote.Response _hash

Re: [qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread dperez
Solved: Don't know if this is the best solution, but it works. In the treeOpenWithContent event, I start a timeout to select the rows associated to selected child nodes. dperez wrote: > > Dear tree gurus, > > I would like to select programmatically a node in a TreeVirtual. > I use this techni

Re: [qooxdoo-devel] html in table cell - update of element

2007-07-27 Thread westor
OK, I found it myself: I have to derive from qx.ui.table.cellrenderer.Abstract instead of qx.ui.table.cellrenderer.Default westor wrote: > > I need html in table cells, and this worked for me in 0.6.6 > Since 0.7 I have problems with update of data in a cell, when I have html > inside. Maybe,

[qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread dperez
Dear tree gurus, I would like to select programmatically a node in a TreeVirtual. I use this technique successfully: var row = tree.getDataModel().getNodeRowMap()[myNodeId]; tree.getSelectionModel().addSelectionInterval(row, row); But when the nodeId is inside a collapsed node, then row == null

Re: [qooxdoo-devel] Data Binding Mechanism. Qooxdoo and QxTransformer.

2007-07-27 Thread Siarhei Barysiuk
Hello David, May be I should to add restoreFromJSON()/serializeToJSON() method to BaseForm? Is it what you need? Thanks for ideas! Siarhei dperez wrote: > Hi Siarhei, > > Like Leander, I have created my own simpler framework, for > loading/retrieving from/to JSON data. > Your idea is more elabo

Re: [qooxdoo-devel] Data Binding Mechanism. Qooxdoo and QxTransformer.

2007-07-27 Thread Siarhei Barysiuk
Hello Frederic, The concept was designed as extensible platform in which you can add own features and custom logic. It's very easy to integrate for example Google Gears to data binding mechanism. Just write new implementation of IBindingProvider (and IAutoCompletionProvider if you need) and use

Re: [qooxdoo-devel] Data Binding Mechanism. Qooxdoo and QxTransformer.

2007-07-27 Thread frederic
Hi Siarhei, Excellent doc ! What do you think about integrate offline support (FF3, Google Gears, Flash) in databinding ? regards. frederic Siarhei Barysiuk wrote: > > Hello folks! > > For few last day I was thinking about data binding functionality for > qooxdoo (including 'plain html for

[qooxdoo-devel] html in table cell - update of element

2007-07-27 Thread westor
I need html in table cells, and this worked for me in 0.6.6 Since 0.7 I have problems with update of data in a cell, when I have html inside. Maybe, my way is wrong? What I do is extend : qx.ui.table.cellrenderer.Default and overwite _getContentHtml : function(cellInfo) { // return qx

Re: [qooxdoo-devel] Data Binding Mechanism. Qooxdoo and QxTransformer.

2007-07-27 Thread dperez
Point 3 is important for me. It's what I'm using right now. Fabian Jakobs-2 wrote: > > 1. Will you support file upload widgets. e.g. the one by Dietrich in > qooxdoo-contrib? I think this would be a natural enhancement for the > "plain html forms" feature. > 2. Any plans about supporting com

Re: [qooxdoo-devel] Data Binding Mechanism. Qooxdoo and QxTransformer.

2007-07-27 Thread dperez
Hi Siarhei, Like Leander, I have created my own simpler framework, for loading/retrieving from/to JSON data. Your idea is more elaborate, and I like it, it's more extendable. Leander Hanwald wrote: > > Hi Siarhei, > > that looks very good and feels naturally "right" for me what I see in > you

[qooxdoo-devel] Table selection: MULTIPLE_INTERVAL_SELECTION_TOGGLE

2007-07-27 Thread dperez
Hi, I would like to implement a new selection mode for table and treevirtual. No we have: /** {int} The selection mode "none". Nothing can ever be selected. */ NO_SELECTION: 1, /** {int} The selection mode "single". This mode only allows one selected item. */ SI

Re: [qooxdoo-devel] RPC CALL

2007-07-27 Thread Fabian Jakobs
Hello Enaldo, > Hi, > > I'm working on qooxdoo-0.7.1-sdk. I'm doing rpc async call's and the > client is giving the error: > - IE7 - "$k is null or is not a object"; > - FireFox - "$k has no properties"; > > The rpc call is using a php backend. > > I wonder if anyone can help me. > Thi