[qooxdoo-devel] dynamic table

2010-04-21 Thread Martin_GER
hello, what is the easiest way to create a dymanic table. I mean that the splits at each calling the table to be rebuilt. It is necessary by new split-descriptions or other quantity of splits. Thanks! -- View this message in context: http://n2.nabble.com/dynamic-table-tp4936787p4936787.html Se

Re: [qooxdoo-devel] Form child widgets alignment and spacing

2010-04-21 Thread alexander.volik
MartinWittemann wrote: > > You can subclass the renderer and access the layout via _getLayout in your > subclass constructor. In all three renderer, a grid layout is used so you > can take a look at the API of the grid layout to see what you can do. > I'm trying to write my own form renderer c

Re: [qooxdoo-devel] Adding new nodes to a tree model

2010-04-21 Thread alexander.volik
Hm... I am trying to add one leaf to the root: var location = new locationList.Node(); location.setName("location"); data[0].getChildren().push(location); var treeController = new qx.data.controller.Tree(data[0], tree, "children", "name"); As you can see, I leave the "children" property empty, b

Re: [qooxdoo-devel] Form child widgets alignment and spacing

2010-04-21 Thread MartinWittemann
Use the protected _setLayout method. That should do the job. Martin -- View this message in context: http://qooxdoo.678.n2.nabble.com/Form-child-widgets-alignment-and-spacing-tp4924083p4941204.html Sent from the qooxdoo mailing list archive at Nabble.com. ---

Re: [qooxdoo-devel] table cell renderer boolean

2010-04-21 Thread Fritz Zaucker
Have you tried true/false instead 0/1 als values? If you get your data from the backend, you could convert them there. Or if you need 0/1 in the cellrenderer, you could use your own derived from qx.ui.table.cellrenderer.Boolean Cheers, Fritz On Thu, 22 Apr 2010, smisonl...@googlemail.com wrote:

[qooxdoo-devel] table cell renderer boolean

2010-04-21 Thread smisonl...@googlemail.com
Hi, i want to use a checkbox renderer and i add this renderer on my table table1.getTableColumnModel().setDataCellRenderer(2, new qx.ui.table.cellrenderer.Boolean()); table1.getTableColumnModel().setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean()); In this table cells are 0 or 1

Re: [qooxdoo-devel] Plugging custom code in the loader

2010-04-21 Thread Jean-Noël Rivasseau
Thanks for the detailed reply. See below for some comments In fact, there is a config key ("compile-options/loader-template"[1]) > that allows you to specify a custom loader template. > > [1] > > http://qooxdoo.org/documentation/1.0/tool/generator_config_ref#compile-options > Yes, I had found th

[qooxdoo-devel] table like a cell selector?

2010-04-21 Thread dragon2k...@gmx.de
Is it easy posible to select only cells instead complete rows and select them? Like a matrix? Or should i build better my own area? -- ___ qooxdoo-devel mailing list qoo

[qooxdoo-devel] Little table bug?

2010-04-21 Thread dragon2k...@gmx.de
When i set the first column to 0 like this resizeBehavior.set(0, { width:"0%", minWidth:0, maxWidth:0 }); the table header is ca 10 pixel width ad the contnt rows have another width = - the wrong headerwidth and the sizeing lines of the header are at the wrong positionl

Re: [qooxdoo-devel] reference objects outside handler

2010-04-21 Thread Matthew Curry
Reviving a months-old thread... I'm encountering a similar problem, but with an event-handler that is a closure. The relevant code is below. In the main function I have a local variable, getfeeds_req, that is an instance of qx.io.remote.Request. I attempt to use that variable in refreshbutton's

Re: [qooxdoo-devel] Application.onScriptLoaded()

2010-04-21 Thread Petr Kobalíček
Yeah, you are right, there are not too much changes. I will try to investigate the root of this problem. I debugged the application and it seems that qx.event.handler.Application.$$instanc is null (or undefined). I understand that this is mainly my problem, because I'm using different way to compi

[qooxdoo-devel] binding problem with Tree and Storage

2010-04-21 Thread insulae
the idea of this application is load the information received from the server into a Tree. When the information is loaded i want to add new nodes to the tree, without interact with the server, i want to do this writing directly to the Object Model of the Object Store. The new nodes must be childre

Re: [qooxdoo-devel] Placing the source build on the server

2010-04-21 Thread flj
Thanks for the help - that's more or less how I tried to do it. However, I'm somewhat limitted in what I can do - my qooxdoo app gets deployed/needs to be deployed to the app server packaged inside a war file. Anyway, it's not that much of a requirement for the source version - the version used

[qooxdoo-devel] Table cell add

2010-04-21 Thread smisonl...@googlemail.com
Hello, i have a table and want to add some single cells this.tables[i].getTableModel().setValue(0,row,j["data"][row]["title"]); but the script stops at that point. the value i want to set is avaiable. What can be wrong? ---

Re: [qooxdoo-devel] how to exclude some fields from model?

2010-04-21 Thread ReHa
I have a further problem, because the result of var model = controller.createModel(); seems to be no object, on which i can access the properties, but the principle of my question is clear now. (This thing i think i can solve myself ...) Thanks. -- View this message in context: http://n2.nab

Re: [qooxdoo-devel] Remote table exemple not loading data problem

2010-04-21 Thread Yan Guiborat
Thanks Thron, Alexander for your fast answer on this not so much interesting question. Here is my remote model class, I put into comment what is returned from backend. qx.Class.define("licnet.modellistagentadmin", { extend : qx.ui.table.model.Remote, members : { // overloaded - call

Re: [qooxdoo-devel] Adding new nodes to a tree model

2010-04-21 Thread MartinWittemann
Yes, it sill hast the icon because it's the default icon. But it does not show you the arrow to open the folder. If you want a different icon, use a binding and information in the model to determinate which icon to use. -- View this message in context: http://n2.nabble.com/Adding-new-nodes-to-a-

Re: [qooxdoo-devel] Classes, correct code structure.

2010-04-21 Thread Alexander Steitz
Hi Alexander, On Wednesday April 21 2010 00:41:35 alexander.volik wrote: > I faced the fact that my code takes more and more space (my program consist > of nested tabviews and many widgets). Thus the question about well > organized structure of code emerged. > What the logical parts of code may be

Re: [qooxdoo-devel] Application.onScriptLoaded()

2010-04-21 Thread MartinWittemann
Hello Petr, I just checked the qx.event.handler.Application file and there hasn't been much change in it since 1.0.1. http://qooxdoo.svn.sourceforge.net/viewvc/qooxdoo/trunk/qooxdoo/framework/source/class/qx/event/handler/Application.js?r1=21241&r2=21558&pathrev=21558 http://qooxdoo.svn.sourcef

Re: [qooxdoo-devel] Remote table exemple not loading data problem

2010-04-21 Thread thron7
Yan, I've looked through the code and didn't see any obvious protocol issues. But the code doesn't seem to be syntactically correct, quite a few braces are out of bounds. It would be helpful if you could provide a complete and syntactically correct code sample. Please replace Rpc calls with mock d

Re: [qooxdoo-devel] Placing the source build on the server

2010-04-21 Thread Grzegorz Słowikowski
Hi I have a workaround. For source build deployment you have to keep "source" folder and all its structure for it to work because of "../source" prefixes in the loader generation. I've adder another one index.html in the root of the webapp containing: http://www.w3.org/1999/xhtml";> Greetin

Re: [qooxdoo-devel] Remote table exemple not loading data problem

2010-04-21 Thread Alexander Steitz
Hi Yan, On Tuesday April 20 2010 17:22:05 Yan Guiborat wrote: > Then I am creating my table like this: > > var remoteModel = new licnet.modellistagentadmin(); > > // first param: displayed names, second param: IDs > remoteModel.setColumns( fields, fids ); > //remoteModel.reloadDat

[qooxdoo-devel] Classes, correct code structure.

2010-04-21 Thread alexander.volik
I am beginner in QooxDoo. I faced the fact that my code takes more and more space (my program consist of nested tabviews and many widgets). Thus the question about well organized structure of code emerged. What the logical parts of code may be allocated in the separate classes? Parts for all tabvi

Re: [qooxdoo-devel] Adding new nodes to a tree model

2010-04-21 Thread alexander.volik
Hi guys! I am trying to add childs to the tree by this way: nodes[0].getChildren().push(new locationList.Node()); ... qx.Class.define("locationList.Node", { extend : qx.core.Object, construct : function () { this.base(arguments); this.setChildren(new qx.data.Array()); }, prope