Re: [qooxdoo-devel] abusing QxTree

2006-03-13 Thread Peter Sheldrick
Hello Sebastian!On 3/13/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Peter Sheldrick schrieb:> I'm mapping a file tree to a QxTree. But i find myself wanting to create> my own Tree object and using it and the QxTree in tandem to do what i> want. This is because for every

[qooxdoo-devel] abusing QxTree

2006-03-10 Thread Peter Sheldrick
I'm mapping a file tree to a QxTree. But i find myself wanting to create my own Tree object and using it and the QxTree in tandem to do what i want. This is because for every tree node i want to save the filename, path and children. Or sometimes i want to change the apperance of a specific node. Al

[qooxdoo-devel] generating qooxdoo pages

2006-03-01 Thread Peter Sheldrick
When i generate a page by cgi or mod_python and use qooxdoo, i get the error message "window.application has no properties". Is there a workaround for this? Is it possible to use qooxdoo without window.application? My method was to save the generated html to a file and then redirecting the users br

Re: [qooxdoo-devel] QxTree ~ expand, collapse

2006-02-22 Thread Peter Sheldrick
Ok don't worry - works. Sorry for the spam. - Peter On 2/22/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Peter Sheldrick schrieb:> What would the loop look like? Visit every node and call the event:> "changeSelection"? Can you make an example?This has nothing to

Re: [qooxdoo-devel] QxTree ~ expand, collapse

2006-02-22 Thread Peter Sheldrick
Perhaps my last post was obscure - close() does work. Sometimes. Can you confirm that it behaves oddly? Why is forEach not in the doc for QxTree? Why does tree.getItems().forEachChild( function(o) { o.close(); } ); do nothing?On 2/22/06, Peter Sheldrick < [EMAIL PROTECTED]> wrote:Thanks al

Re: [qooxdoo-devel] QxTree ~ expand, collapse

2006-02-22 Thread Peter Sheldrick
root, but tree.close() does nothing! confused, - Peter On 2/22/06, Benjamin Reitzammer <[EMAIL PROTECTED]> wrote: Hi,Am 22.02.2006 13:55, Sebastian Werner schrieb:> Peter Sheldrick schrieb:>>> What would the loop look like? Visit every node and call the event:>> "ch

Re: [qooxdoo-devel] QxTree ~ expand, collapse

2006-02-22 Thread Peter Sheldrick
What would the loop look like? Visit every node and call the event: "changeSelection"? Can you make an example? - PeterOn 2/22/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Peter Sheldrick schrieb:> Is there a way to expand all the braches of a QxTree or to collapse them?I am

[qooxdoo-devel] QxTree ~ expand, collapse

2006-02-22 Thread Peter Sheldrick
Is there a way to expand all the braches of a QxTree or to collapse them? - Peter

Re: [qooxdoo-devel] a few minor bugs

2006-02-16 Thread Peter Sheldrick
This is some code for (2):    window.application.main = function()   {       var d = this.getClientWindow().getDocument();       var dl = new QxDockLayout;       dl.setEdge(30, 10, 30, 10);       var l1 = new QxWidget;       l1.setWidth("50%");       l1.setBackgroundColor("blue");       var

[qooxdoo-devel] a few minor bugs

2006-02-16 Thread Peter Sheldrick
There are only two Qx types that can store text that is editable: QxTextField and QxTextArea. They behave slightly differently; for example: (1) In a QxTextField i can't make newlines - in a QxTextArea i can. (2) If put them in a QxDockLayout a QxTextField only gets formatted properly if the page i