Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Sebastian Werner
Flash is a good option (we use it too). Using timeouts is a bad in my opinion. It will dramatically slow down the whole execution without bringing the guarantee to really constantly show the animation. Cheers, Sebastian P.S. Maybe an item for a FAQ ;) Jim Hunter schrieb: > The only thing th

Re: [qooxdoo-devel] Newbie question about Qx 0.6 build system

2006-09-19 Thread Sebastian Werner
There is a difference between these: find your files and include your files. Please be sure that your files are really included. Have you also modified the Makefile accordingly? Please double-check all the documentation pages. Cheers, Sebastian Simon Bull schrieb: > Hi All, > > I'm looking

Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Jim Hunter
The only thing that will continue to 'animate' (at least in IE) while a _javascript_ function is running is a Flash animation since it is controlled by the Flash plugin and not the browser. I spent days trying everything I could to get an icon to animate but without the trick mentioned by Simon it'

Re: [qooxdoo-devel] Newbie question about Qx 0.6 build system

2006-09-19 Thread Simon Bull
Hi Jim,Yes I had already figured that much out.  I couldn't understand how the js runtime could be complaining about part of the name of a js class.It turns out that I had tried to define a "static" constant before defining the constructor in my file.I.e., with the namespaces version of Qx you now

Re: [qooxdoo-devel] Newbie question about Qx 0.6 build system

2006-09-19 Thread Jim Hunter
To start with, _javascript_ doesn't know anything about your file system, and by definition, it can't. You have to declare everything in _javascript_. I suggest looking through the source code to see how it's done in qooxdoo. The qooxdoo classes don't get their name from the folders they are in, th

[qooxdoo-devel] Newbie question about Qx 0.6 build system

2006-09-19 Thread Simon Bull
Hi All,I'm looking at migrating my Qx 0.5.x app to Qx 0.6 (r4150).  I can build and run the Qx 0.6 sample apps 1, 2 and 3 and they all work fine.However, I'm having trouble getting my custom classes to work.  I created a very trivial app based on the "sample 3" skeleton.  I changed the "custom.Appl

[qooxdoo-devel] Minor release qooxdoo 0.6.1 ahead

2006-09-19 Thread Andreas Ecker
Howdy, according to our goal to release more often and after many bugfixes and some additions within the last two weeks, it is about time for a maintenance release qooxdoo 0.6.1. It is expected to make this release available tomorrow. Please see the preliminary release notes at http://qooxdoo.

Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Simon Bull
Hi Mike,I have read that in the browser's single threaded runtime it is a good idea to make every method invocation via a timeout rather than via a direct method call.  The idea is that in the gaps between invocations, the thread of control briefly returns to the browser - allowing it to carry on w

[qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread lycovian
There are numerous animated Gifs out on the web that can be displayed while the browser is "doing something". I pull a large record set (about 3000 rows) via an Ajax call and use it to populate a qx.ui.table.Table. I've subclassed the table include an qx.ui.basic.Atom that includes the animated

[qooxdoo-devel] Custom log window

2006-09-19 Thread Jim Hunter
I have searched the archives and didn't see anything that helped me here. I would like to put all the log messages into a managed window inside my application (qx.ui.window.Window). I tried to create a new window and pass both it's name and a reference to it to qx.dev.log.WindowAppender but in bot

Re: [qooxdoo-devel] generator.py problem

2006-09-19 Thread Alex D.
That works, but it doesn't look really nice, because i have large arrays with objects that describe various widgets and regular expressions belong to it. Is there any way to patch this issue in generator.py? Best Regards, alex.d > yes, it seems not to detect the regular expression in hash-maps.

Re: [qooxdoo-devel] generator.py problem

2006-09-19 Thread Sebastian Werner
yes, it seems not to detect the regular expression in hash-maps. Please try the following instead. var reg = /^[0-9]$/; var text = [{'typ':'textfield', 'name':'date', 'regexp':reg }]; Hope this helps. Cheers, Sebastian Alex D. schrieb: > Hi ASAP, > > i have(as an example) following object

Re: [qooxdoo-devel] SVN users: Greatly improved generator script

2006-09-19 Thread Antony Zanetti
Hi, Sebastian Werner wrote: > I've just committed a large bunch of changes to the generator scripts > (qooxdoo build process). These should improve the overall performance. > Many things were modified especially regarding to omit loading and > caching of stuff which is never needed afterwards.

[qooxdoo-devel] generator.py problem

2006-09-19 Thread Alex D.
Hi ASAP, i have(as an example) following object: var text = [{'typ':'textfield', 'name':'date', 'regexp':/^[0-9]$/ }]; with a regular expression in it. generator.py throws following error: expected expression but found token/DIV: ... Any ideas why regular expression causes this error? Bes

Re: [qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Denis Carl
It looks to works better this way ;) Thank you very much for your help !!! Sebastian Werner wrote: > > Have you ever worked with DOM events before? ;) This is nothing that > special. > > You must define a event to each tree file which stops the propagation. > Otherwise it just bubbles up t

Re: [qooxdoo-devel] umlaute

2006-09-19 Thread Alex D.
It helped! Thank you. > Just save your file as UTF-8. Umlauts are supported by UTF-8, too. > Many of the more advanced editors like Ultraedit, PSPad, etc. can > configure the encoding. > > Cheers, > > Sebastian > > > > Alex D. schrieb: >> Hi folks, >> >> when using skeletons and generator.py it's

[qooxdoo-devel] Solution: Re: qx.ui.tree folder and file creation and deletion

2006-09-19 Thread Dietrich Streifert
Title: qooxdoo » Demo Again answering to myself: I've come up with a method for qx.ui.tree.TreeFolder which recursively walks down the tree and disconnects, removes and disposes the found items while leaving the starting folder as is:         qx.ui.tree.TreeFolder.prototype.destroyContent = f

Re: [qooxdoo-devel] umlaute

2006-09-19 Thread Sebastian Werner
Just save your file as UTF-8. Umlauts are supported by UTF-8, too. Many of the more advanced editors like Ultraedit, PSPad, etc. can configure the encoding. Cheers, Sebastian Alex D. schrieb: > Hi folks, > > when using skeletons and generator.py it's not possible to use other > charset tha

[qooxdoo-devel] umlaute

2006-09-19 Thread Alex D.
Hi folks, when using skeletons and generator.py it's not possible to use other charset than utf-8. So smth like this: var l = new qx.ui.form.Label("ÜÄÖß") will cause compiler error. How can i use umlauts anyway? Best Regards, alex.d -

Re: [qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Sebastian Werner
Have you ever worked with DOM events before? ;) This is nothing that special. You must define a event to each tree file which stops the propagation. Otherwise it just bubbles up to the tree folder. The use of e.stopPropagation inside the tree folder method is the wrong place. This must be used

Re: [qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Denis Carl
It doesn't works :s var folder = new qx.ui.tree.TreeFolder("Folder 1"); tree.add(folder); folder.addEventListener(qx.constant.Event.CONTEXTMENU, this.displayFolderMenu, this); folder.add(new qx.ui.tree.TreeFile("File 1")); associated function : qx.Proto.displayFolderMenu= f

Re: [qooxdoo-devel] FlowLayout

2006-09-19 Thread dperez
Hi, I see, a very easy requirement to specify, but very hard to implement. Luckily there are some existing open source layout managers (like e.g. Swing of Java) that already solve problems very similar. Sebastian Werner wrote: > > They are planned. The number one requirement is, that it shoul

Re: [qooxdoo-devel] Possible not handled null value in qx.ui.core.Widget in private method _handleDisplayable

2006-09-19 Thread Sebastian Werner
Yes, maybe it's a problem. But there are guys I think who already up-dates the tree. I've no idea how. And I'm sorry, but I've no time currently to do further investigations. Cheers, Sebastian Dietrich Streifert schrieb: > Yes just hiding is not the solution. So this is a "this should never

Re: [qooxdoo-devel] Possible not handled null value in qx.ui.core.Widget in private method _handleDisplayable

2006-09-19 Thread Dietrich Streifert
Yes just hiding is not the solution. So this is a "this should never happen" but id does anyway? In which situation can this occur? It implies that the following ist true:     this._oldParent._initialLayoutDone == true while this.getElement() is null. Is there any situation where this can o

Re: [qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Denis Carl
Oops, I didn't see that, thank you :) This will help me a lot ! Sebastian Werner wrote: > > Denis Carl schrieb: >> Hi, >> >> I use a QxTree, in this tree there is a QxTreeFolder and a QxTreeFile >> within. I attach different handler on a same event on these elements. For >> example if I set t

Re: [qooxdoo-devel] Possible not handled null value in qx.ui.core.Widget in private method _handleDisplayable

2006-09-19 Thread Sebastian Werner
This will just hide the error. More interesting is why this error occours. Just hide it doesn't solve it. Cheers, Sebastian Dietrich Streifert schrieb: > Hello Everybody, > > while trying to get my hands on the correct handling of dynamic > qx.ui.tree creation I discovered that under "yet to

[qooxdoo-devel] Possible not handled null value in qx.ui.core.Widget in private method _handleDisplayable

2006-09-19 Thread Dietrich Streifert
Hello Everybody, while trying to get my hands on the correct handling of dynamic qx.ui.tree creation I discovered that under "yet to discover" circumstances I get an exception caused by qx.ui.core.Widget._handleDisplayable: 021344: Modification of property "parent" failed with exception: NS

Re: [qooxdoo-devel] FlowLayout

2006-09-19 Thread Sebastian Werner
dperez schrieb: > Thanks for your answer Sebastian. > > Could you please share some of the planned new layout improvements? They are planned. The number one requirement is, that it should support computed values at any state of the rendering process. I think this is already a complicated thing.

Re: [qooxdoo-devel] FlowLayout

2006-09-19 Thread dperez
Updated http://qooxdoo.org/documentation/user_manual/layout_manager with this info. Sebastian Werner wrote: > > Hi David, > > auto sizing of a flow layout is not that well supported. It works only > in simple szenarios. You can open a bug report, but I don't think this > will be fixed in one

Re: [qooxdoo-devel] FlowLayout

2006-09-19 Thread dperez
Thanks for your answer Sebastian. Could you please share some of the planned new layout improvements? Sebastian Werner wrote: > > auto sizing of a flow layout is not that well supported. It works only > in simple szenarios. You can open a bug report, but I don't think this > will be fixed in

Re: [qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Sebastian Werner
Denis Carl schrieb: > Hi, > > I use a QxTree, in this tree there is a QxTreeFolder and a QxTreeFile > within. I attach different handler on a same event on these elements. For > example if I set the CLICK event on both, when I click on the folder the > associated function works perfectly. But when

Re: [qooxdoo-devel] FlowLayout

2006-09-19 Thread Sebastian Werner
Hi David, auto sizing of a flow layout is not that well supported. It works only in simple szenarios. You can open a bug report, but I don't think this will be fixed in one of the next versions. Maybe we can solve this with the layout improvements of 0.7. But I couldn't promise this for sure.

[qooxdoo-devel] Stopping bubble event to tree item's parent

2006-09-19 Thread Denis Carl
Hi, I use a QxTree, in this tree there is a QxTreeFolder and a QxTreeFile within. I attach different handler on a same event on these elements. For example if I set the CLICK event on both, when I click on the folder the associated function works perfectly. But when I click on the file it launche

[qooxdoo-devel] FlowLayout

2006-09-19 Thread dperez
Hi, FlowLayout doesn't behave correclty when its height is auto and its width is set to 100%. It behaves even worse when width and height is auto. To illustrate better this problem, I have modified the http://www.nabble.com/file/16/FlowLayout_1.html test/FlowLayout_1.html in this way: - I hav

Re: [qooxdoo-devel] qx.ui.tree folder and file creation and deletion

2006-09-19 Thread Dietrich Streifert
Title: qooxdoo » Demo and why is removeAll defined for qx.ui.tree.Tree (which is derived from qx.ui.tree.TreeFolder) and not for qx.ui.tree.TreeFolder? Dietrich Streifert schrieb: Hello everybody, I know that this has been asked and maybe answered a few times before (dperez et. al.) bu

[qooxdoo-devel] qx.ui.tree folder and file creation and deletion

2006-09-19 Thread Dietrich Streifert
Hello everybody, I know that this has been asked and maybe answered a few times before (dperez et. al.) but I can not figure out what the right way is for deleting folders and files from a qx.ui.tree. I've attached a testfile (Tree_7.html, run within frontend/demo/source/html/test) which is do

Re: [qooxdoo-devel] Grid layout

2006-09-19 Thread dperez
Thanks Alex, I have updated the wiki http://qooxdoo.org/documentation/user_manual/layout_manager with this info. alex.d wrote: > > Hi dperez, > > i hava had a similar problem several weeks ago. The short answer is No. > Just look here: > http://www.nabble.com/GridLayout-without-RowHeight-and

Re: [qooxdoo-devel] Grid layout

2006-09-19 Thread Alex D.
Hi dperez, i hava had a similar problem several weeks ago. The short answer is No. Just look here: http://www.nabble.com/GridLayout-without-RowHeight-and-ColumnWidth-specifications--tf2146513.html#a5926215 Cheers, alex.d > Hi, > > Does the GridLayout have the capability of calculating the neede

[qooxdoo-devel] Grid layout

2006-09-19 Thread dperez
Hi, Does the GridLayout have the capability of calculating the needed width of columns and the needed height of rows, like HTML tables? I can put in a cell of the GridLayout arbitrary content, and don't know its size. Thanks in advance for any answer. Regards David -- View this message in con

Re: [qooxdoo-devel] Dramatically improved IE7 JavaScript performance

2006-09-19 Thread junglist
Well well, that made the difference! Thanks for the hint. It even helped on another problem with HTAs on IE7. Most of my layouts resized to zero height when a tooltip popped up. now it works as it should. Too bad that it will take ages till the last of our customers will use IE7 =(. Cheers! Se