[qooxdoo-devel] Performance of qx.Data.Array

2009-07-30 Thread Fritz Zaucker
Hi, when trying http://demo.qooxdoo.org/current/demobrowser/#data~SearchAsYouType.html and changing the code to use an array of 600 elements instead of the 60 elements in the example, the code runs VERY slowly. It seems, that both var rawData = []; for (var i = 0; i < 600 i++)

[qooxdoo-devel] Setting DateField in 0.8 trunk

2009-07-30 Thread Fritz Zaucker
Hello, I am using a DateField widget with a svn checkout from July 29th 2009: var dateField = new qx.ui.form.DateField(); var format = new qx.util.format.DateFormat("dd.MM."); dateField.setDateFormat(format); So far, so good. Then when trying to set the textfield:

[qooxdoo-devel] TableCellRenderer

2009-07-30 Thread A.Yerenkow
Which assets I need to specify, to get working qx.ui.table.cellrenderer.Boolean() - display checkbox ? I'm trying to use it, but it didn't appear neither on true nor on false, with specified #asset(qx/*) -- Let Crystal R

Re: [qooxdoo-devel] One more question about table

2009-07-30 Thread A.Yerenkow
On 30.07.2009 20:34, Gene Amtower wrote: If Qooxdoo blocks direct access to copy/paste functionality for this type of table structure, it would be really great if it could implement an interface to the clipboard functionality in the OS. It would allow you to add a "Copy" button that could writ

Re: [qooxdoo-devel] One more question about table

2009-07-30 Thread Gene Amtower
If Qooxdoo blocks direct access to copy/paste functionality for this type of table structure, it would be really great if it could implement an interface to the clipboard functionality in the OS. It would allow you to add a "Copy" button that could write some value to the clipboard for pasting out

[qooxdoo-devel] SelectBox and translation

2009-07-30 Thread Tobias Oetiker
Gurus, I am using the qooxdoo SelectBox ... I use this.tr to make the ListItems values translatable. This works fine as fahr as the content of the dropdown is concerned. But as soon as I select an item, the original language gets displayed in on the SelectBox button. cheers tobi -- Tobi Oetiker

Re: [qooxdoo-devel] multiline table header cells

2009-07-30 Thread thron7
Daniel, Johnny is working on an answer and will post it tomorrow. T. Daniel Hirtzbruch wrote: > Hello, > > I got another question. I constructed a table using > qx.ui.table.model.Simple(). The cell content is quite narrow, but the header > content is quite wide. Is there a possibility to add

Re: [qooxdoo-devel] One more question about table

2009-07-30 Thread thron7
Hi Alexander, > I have one ore question, how to copy text from tables? > Out-of-the-box and cross-browser, you can only work on the cell level: If a cell is editable, you can double-click it, select the content and copy it to the clip board. Since table rows are selectable (see the demo at

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread John Spackman
Hi Fritz No need because there is no way for the user to set the selection to null via the standard UI (it wouldn't have any effect anyway because that code sample does not reflect the changes to selectionMode in the List - it's only used when the List is created). John -Original Message

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread Fritz Zaucker
Hi John, thanks, looks good to me ... So I guess to get the "proper" HTML-like behaviour I would set the selectionMode to "one" after populating the SelectBox from the RPC-call? Cheers, Fritz On Thu, 30 Jul 2009, John Spackman wrote: > Hi Fritz, > > Derive a class from qx.ui.form.SelectBox and

[qooxdoo-devel] Question about serialization

2009-07-30 Thread benco
Hello, I'd like to revert back a model (in terms of databinding) to its javascript object equivalent to do some more remote operations and I wonder if it's possible to achieve it quickly... ? I looked for a method like this in the api but without success (the Object serialize() method seems not t

Re: [qooxdoo-devel] Placeholder refresh

2009-07-30 Thread Martin Wittemann
Hello tobi, thanks for the hint. It would be nice if that happens automatically. I opened a bug report for it: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2634 Will fix it soon. Best, Martin Am 30.07.2009 um 10:06 schrieb Tobias Oetiker: > Gurus, > > I am using the new Placeholder property

[qooxdoo-devel] One more question about table

2009-07-30 Thread A.Yerenkow
Hey all! I have one ore question, how to copy text from tables? In my old system we had a simple html table, and users can copy whatever they need. In qooxdoo I can't copy anything from tables. Can anyone help? :) -- Best Regards Alexander Yerenkow, Generalissimo of UCT ---

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread John Spackman
Hi Fritz, Derive a class from qx.ui.form.SelectBox and add this property: selectionMode: { init: "one", nullable: false, check: [ "single", "one" ] } And this member: // overridd

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread Fritz Zaucker
It happens that I am struggeling with the same problem right now (populating the SelectBox through a rpc-call and having the event handler already attached). I guess one work-around would be to add a flag to the SelectBox with setUserData, setting it to 'loading' at the start of the rpc-call setti

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread John Spackman
Sure, but that doesn’t change my point – the SelectBox fires changeValue/changeSelected events because you haven’t finished populating the list yet. EG if you have 6 items (“Item1” to “Item6”) and you want “Item3” to be the selected one – you will get two changeValue/changeSelected events,

[qooxdoo-devel] remote table and firebug console errors while using trunk

2009-07-30 Thread skar
Hi, I switched to using trunk(r19714) to avoid row count being fetched several times on remote table being loaded and now the app loads fine, but firebug console has 2 errors: > qx.log.appender.Util is undefined > [Break on this error] console[entry.level].call(cons...e, > qx.log.appender.Util.to

[qooxdoo-devel] multiline table header cells

2009-07-30 Thread Daniel Hirtzbruch
Hello, I got another question. I constructed a table using qx.ui.table.model.Simple(). The cell content is quite narrow, but the header content is quite wide. Is there a possibility to add linebreaks / auto enlargement to the header cells - didn't find anything in the docs / examples. Regardi

Re: [qooxdoo-devel] R: fit screen width with 0.8x

2009-07-30 Thread Christian Schmidt
Hi Ric, sorry I meant remove this line: "main_container.set( {allowStretchX: true} );" Cheers, chris Christian Schmidt schrieb: > Hi Ric, > > your first example looks good. The root container has per default the > canvas layout and this is your problem. If you add the container to the > root

Re: [qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread Gene Amtower
This item has been discussed on the list previously, and as I think about it now, this is normal HTML behavior. In my web development of forms in plain HTML, I always had to insert a non-value entry first that instructed the user to select an entry to get around this HTML behavior. I think the sam

Re: [qooxdoo-devel] R: fit screen width with 0.8x

2009-07-30 Thread Christian Schmidt
Hi Ric, your first example looks good. The root container has per default the canvas layout and this is your problem. If you add the container to the root (without layout information). The container only use his width and height. If you add the container with "edge:0" (a shot way to set top, l

[qooxdoo-devel] Selection mode for SelectBox

2009-07-30 Thread John Spackman
Hi, The SelectBox control always wants to have at least one item selected at all times, because the list which it creates has a selectionMode=="one"; the disadvantage of this approach is that changeValue and changeSelected events are fired as you add the first item to the list. This is kind of

Re: [qooxdoo-devel] Two questions: Enter in Textfield & Drag/Dropmodifier keys

2009-07-30 Thread Nick Glencross
Hi Andreas, On Thu, Jul 30, 2009 at 12:19 PM, Fink, Andreas wrote: > Hi Nick, > > why don't you simply use the methods, provided by the button, to get your > click animation on the button? > The following example works in playground: That looks like an excellent solution. I guess I was blinkere

Re: [qooxdoo-devel] Two questions: Enter in Textfield & Drag/Drop modifier keys

2009-07-30 Thread Fabian Jakobs
Hi Nick, >> Anyway, Fabian said you should at least add the following lines to your >> handler: >> >>... >>this.focus(); >>var clone = event.clone(); >>clone.setBubbles(false); >>this.dispatchEvent(clone); >>... >> >> It is necessary to clone the even

Re: [qooxdoo-devel] Two questions: Enter in Textfield & Drag/Dropmodifier keys

2009-07-30 Thread Fink, Andreas
Hi Nick, why don't you simply use the methods, provided by the button, to get your click animation on the button? The following example works in playground: var button1 = new qx.ui.form.Button("First Button", "icon/22/apps/internet-web-browser.png"); var doc = this.getRoot(); doc.add(button1, {

Re: [qooxdoo-devel] R: complete list of variables

2009-07-30 Thread Riccardo Maria Bianchi
Yes, I can confirm that on all our other machines the API viewer works perfectly (both with windows and different versions of linux). Only on that old Debian linux box we observed this strange problem, but as you said the firefox version installed there is quite old. Thanks, Ric. -O

Re: [qooxdoo-devel] drawing lines

2009-07-30 Thread Andreas Junghans
Hi there, Am 29.07.2009 um 20:25 schrieb Jim Hunter: > I have done this and created a flow chart sort of tool by using the > Walter Zorn library and qooxdoo. I created a 'canvas' control in > qooxdoo that has a surface for the lines to br drawn on. Then I > created controls (Atoms) that had

Re: [qooxdoo-devel] Two questions: Enter in Textfield & Drag/Drop modifier keys

2009-07-30 Thread Nick Glencross
Hello Thomas! On Thu, Jul 30, 2009 at 9:59 AM, thron7 wrote: > Anyway, Fabian said you should at least add the following lines to your > handler: > >        ... >        this.focus(); >        var clone = event.clone(); >        clone.setBubbles(false); >        this.dispatchEvent(clone); >      

Re: [qooxdoo-devel] QXDT Update for qooxdoo 0.8

2009-07-30 Thread thron7
Axel Motyka wrote: > Andreas Ecker-2 wrote: > >> Hi Axel! >> >> >>> I installed the last QXDT Eclipse plugin, which only features qooxdoo >>> 0.7.2 - is there any update available? >>> >> QXDT is still in its early stages and it hasn’t been updated for the >> latest qooxdoo or Ecli

Re: [qooxdoo-devel] Two questions: Enter in Textfield & Drag/Drop modifier keys

2009-07-30 Thread thron7
Hello again, Nick! > * The last qooxdoo application I wrote targeted 0.6, and I used > something like the following to trigger a button event when Enter was > pressed in a textfield (with 'this' being the button). > > var keyident = event.getKeyIdentifier(); > > if (keyi

Re: [qooxdoo-devel] How to consume key event so that IE does notprocess them?

2009-07-30 Thread Martin Wittemann
Hello Björn, if the prevent default on the event does not work on those keys too, I have no idea what to do otherwise. I'm sorry. Regards, Martin Am 29.07.2009 um 17:10 schrieb Björn Christoph Fischer: > Hi Martin, > thanks for your comment :). This enhancement solves my problem for > F1, but

[qooxdoo-devel] R: fit screen width with 0.8x

2009-07-30 Thread Riccardo Maria Bianchi
Thanks again Thron :-) Actually I tried with Canvas, and with a combination of VBox and HBox, but I did not succeed. The only way I suuceeded is using the qx.bom.Vieport.getWidth() (example taken from http://www.muhuk.com/2009/04/using-layouts-in-qooxdoo-part-5-basic-canvas/), but I gue

Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN : qooxdoo:[19717] trunk/qooxdoo/framework/source /class/qx/ui/ table/columnmodel

2009-07-30 Thread tinob...@t-online.de
Hi Derrel,Thanks for your answer Derrell.We are extening the default table resize behaviour in our software. In 0.7 this was no problem, as all the member variables used to be protected. In qooxdoo 0.8 all the member variables are now private (which is all fine to protected the internals of the cla

Re: [qooxdoo-devel] QXDT Update for qooxdoo 0.8

2009-07-30 Thread Axel Motyka
Andreas Ecker-2 wrote: > > Hi Axel! > >> I installed the last QXDT Eclipse plugin, which only features qooxdoo >> 0.7.2 - is there any update available? > > QXDT is still in its early stages and it hasn’t been updated for the > latest qooxdoo or Eclipse versions. If you (or others!) are intere

[qooxdoo-devel] Placeholder refresh

2009-07-30 Thread Tobias Oetiker
Gurus, I am using the new Placeholder property in one of my projects. Since I am re-using widgets, I need to 'clean' them as different data is displayed. I do textfield.setValue(null); If the field has already been empty, then it will NOT display the Placeholder but remain white. Once I clic

Re: [qooxdoo-devel] R: complete list of variables

2009-07-30 Thread thron7
> Sorry for that stupid question, but actually on my Linux box with > firefox 2.0.0.3 I get "undefined" lable on all buttons in the menu bar > in the API viewer: I get "undefined" instead of "Content", "Search", > "Legend" and "View" button labels... I checked with my windows pc the > right

Re: [qooxdoo-devel] ButtonView 0.8.x

2009-07-30 Thread qooxdoo
> > Yes it is possible. You can access the button of the tabview page and > set the iconPosition property of it: > > var page1 = new qx.ui.tabview.Page("Layout", "icon/16/apps/utilities- > terminal.png"); > page1.getChildControl("button").setIconPosition("top"); > Thank you, thats what i se