[qooxdoo-devel] boolean cell

2007-10-09 Thread Tobias Koller (GERMO GmbH)
Hi, why is the click-functionality of the boolean-cellrenderer not implemented directly into qooxdoo? Why do I have to catch the click-event of my table and make something like: if (this.getTableColumnModel().getDataCellRenderer(column) instanceof qx.ui.table.cellrenderer.Boolean) {

Re: [qooxdoo-devel] boolean cell

2007-10-09 Thread Tobias Koller (GERMO GmbH)
Sorry, i ment: if (this.getTableColumnModel().getDataCellRenderer(column) instanceof qx.ui.table.cellrenderer.Boolean) { var value = this.getTableModel().getValue(column, row); value = (value == true)?false : true; this.tabelModel.setValue(column, row, value); } I made my one table-class

Re: [qooxdoo-devel] Programatically firing events

2007-10-09 Thread Fabian Jakobs
Phaneesh N schrieb: Hi All, I am trying to write an user extension for Selenium to test qooxdoo applications. I have already written some enhancements on top of the existing qooxdoo extensions by Robert Zimmermann. I am struck at places where I need to dispatch some events to specific

Re: [qooxdoo-devel] Using Mixins to simplify large classes

2007-10-09 Thread Fabian Jakobs
Hugh Gibson schrieb: Our main frame class is used as a common point for implementation of singleton functionality, e.g. managing context menus. Typically there are some members and a few functions for each case. I don't want to define singletons classes for each block of functionality. One

Re: [qooxdoo-devel] Programatically firing events

2007-10-09 Thread Phaneesh N
Hi Fabian, What is the value that I should pass for data parameter? Is it the node that needs to be selected? - Original Message From: Fabian Jakobs [EMAIL PROTECTED] To: qooxdoo Development qooxdoo-devel@lists.sourceforge.net Sent: Tuesday, October 9, 2007 1:23:04 PM Subject: Re:

[qooxdoo-devel] Patch to qx.ui.table.model.Remote: setValue() method implemented

2007-10-09 Thread bibliograph
Hello, qx.ui.table.model.Remote currently does not implement the setValue() method required by interface qx.ui.table.model.Abstract. This patch adds this method. I tested it with legacy 0.7 and it seems to work fine. This is especially useful if you locally change the remote table data and do

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-09 Thread Andreas Junghans
Hi Jim, Am 09.10.2007 um 03:23 schrieb Jim Hunter: I guess I am a bit confused... I should not have to call _requestFinished as this is an internal function. Well, not quite. It's internal in the sense that you shouldn't call it from JS code. The server-generated code can be considered

Re: [qooxdoo-devel] How to override an auto-generated getter/setter?

2007-10-09 Thread dperez
Hi Fabio, You just need to redefine the '_applyLabel()' method [EMAIL PROTECTED] wrote: I want to modify the incoming and outgoing value of the qx.ui.basic.Atom property label (more: implement wrapping by inserting br tags). I thought I could simply re-define the setLabel and getLabel

Re: [qooxdoo-devel] Just the first character in a table cell displayed?

2007-10-09 Thread dperez
With version 0.7.2 there is a new behavior. If there is no full space for a word, it isn't shown. The previous versions show it clipped. Maybe this is the cause. Philipp Wabinski wrote: Hi there, I copied the code for a table from one class to another. I just limited the rows to one

[qooxdoo-devel] [contrib] Wait opacity widget

2007-10-09 Thread Anton Kachalov
Hello, every one! I've made a widget which shade the parent widget and display Loading-state image. It's very useful with AJAX queries, loading data from external sources and places with long-time run. Example of use: qx.Class.define(ww.com.users.window, { extend : qx.ui.window.Window,

Re: [qooxdoo-devel] How to override an auto-generated getter/setter?

2007-10-09 Thread Tobias Koller (GERMO GmbH)
Hi fabio, but if you redefine the method like this: _applyLable(newValue, oldValue) then you can modify the values. Maybe I just don't understand ;) Tobias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Dienstag,

Re: [qooxdoo-devel] Just the first character in a table cell displayed?

2007-10-09 Thread Chandrasekhar A
How you are adding the values to a table? You should it as follows tableModel.setData([aa,bb]); Regards, Chandra -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dperez Sent: Tuesday, October 09, 2007 6:56 PM To: qooxdoo-devel@lists.sourceforge.net

Re: [qooxdoo-devel] How to override an auto-generated getter/setter?

2007-10-09 Thread [EMAIL PROTECTED]
Hi Perez, that is not what I meant. I cannot _internally_ edit the new value of the label! I will try to clarify this with a little example. I want to set the label and convert special characters internally to XML entities (so that I can display br in the label for example). And on call of

Re: [qooxdoo-devel] How to override an auto-generated getter/setter?

2007-10-09 Thread [EMAIL PROTECTED]
Hi Tobias, the apply-method supplies you with the new value and the old value that has just been overwritten. It does not allow you to modify oldValue and send it back as newValue. A string is passed by value anyway, so that can not work. Tobias Koller (GERMO GmbH) wrote: Hi fabio, but if

Re: [qooxdoo-devel] [contrib] Wait opacity widget

2007-10-09 Thread dperez
Thanks Anton for sharing this with us. Very good your link http://ajaxload.info/ Anton Kachalov wrote: Hello, every one! I've made a widget which shade the parent widget and display Loading-state image. It's very useful with AJAX queries, loading data from external sources and

Re: [qooxdoo-devel] Just the first character in a table cell displayed?

2007-10-09 Thread Philipp Wabinski
Thanks for all your answers and sorry for this stupid question! I just didn`t pushed an Array to the data and one character from the string was assigned for every column. Your answers helped to find that failure :) Thanks! Philipp -- View this message in context:

Re: [qooxdoo-devel] How to override an auto-generated getter/setter?

2007-10-09 Thread [EMAIL PROTECTED]
That would do it one-way, the getter returns of course the transformed property. And I would need to refine the property, however only the init-value can be changed - or would refining an additional transformer be an undocumented feature? Fabio Derrell Lipman wrote: It sound like you're looking