Re: [qooxdoo-devel] Built-in images and themes

2006-09-14 Thread Carl Denis
Hi, I use this method this way : var node = this.getManager().getSelectedItems()[0]; var parentFolder = node.getParentFolder(); parentFolder.remove(node); I works perfectly but, when I click on another item of my qx.ui.treefullcontrol.Tree the following error message appear in the log popup win

Re: [qooxdoo-devel] Transport error 405: Method not allowed

2006-09-14 Thread Alex D.
I use IIS 6.0 with PHP-backend and yes - you are right - index.php wasn't in the list of "default" files to open, and that was the problem. It's interesting that i installed apache too, but it gave me "Error 404 - Not found" for the same reason. Cheers, alex.d "Alex D." <[EMAIL PROTECTED]>

Re: [qooxdoo-devel] Modal window behaviour in ZK

2006-09-14 Thread Simon Bull
Hi there,I have implemented a similar thing in my Qx 0.5.x application.My app has lots of windows, each with toolbars and buttons etc. which need to be "disabled" while a window is either busy (awaiting a response from the server) or blurred (not in focus).Here is some code pasted from one of my Qx

[qooxdoo-devel] NumberFormat bug

2006-09-14 Thread dperez
Hi, If I do this: var f = new qx.util.format.NumberFormat f.set({minimumFractionDigits: 2}) alert(f.format(3.31244)); then I receive 3 instead of 3.31. I consider this a bug. Regards, David -- View this message in context: http://www.nabble.com/NumberFormat-bug-tf2275758.html#a63199

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-14 Thread dperez
Hi, Finally I have tried to comment out this.setTabIndex(1), and now the behaviour is ok, only the text field is in the tab focus chain. Do you want me to create a patch for this? dperez wrote: > > Hi, > > When I press the tab button and have ComboBoxes, the focus is cycled > between the Text

Re: [qooxdoo-devel] Profiling and Memory Leak Detection

2006-09-14 Thread dperez
In addition qooxdoo has a counter of all live objects qx.manager.object.ObjectManager Ways OfTheEarth wrote: > > Hi Choon, > > I'm not sure what memory profiling tools are bundled with Qx, but if you > are using a windows machine ProcessExplorer > (http://www.sysinternals.com/Utilities/Process

Re: [qooxdoo-devel] Modal window behaviour in ZK

2006-09-14 Thread dperez
That's a good idea :-) Maybe this could be added to qooxdoo. Jim Hunter-2 wrote: > > I have not tried this yet, but you could simply try to overlay a panel on > top of everything before you create the window. Give the panel a light > gray > color and set it's transparency to 80%-90%. This shou

Re: [qooxdoo-devel] Basic HTTP authentication fixes

2006-09-14 Thread Antony Zanetti
Hi Derrel, I've checked in your patches. Note that for consistency with what I believe Sebastian's preferred naming scheme is, I camel-cased the new property name, so you'll have to change your code which uses the property. You've camel-cased the property name but you forgot to change the cal

Re: [qooxdoo-devel] Profiling and Memory Leak Detection

2006-09-14 Thread Simon Bull
Hi Choon,I'm not sure what memory profiling tools are bundled with Qx, but if you are using a windows machine ProcessExplorer (http://www.sysinternals.com/Utilities/ProcessExplorer.html) allows you to watch how much memory a process is using.SimonChoon Whee <[EMAIL PROTECTED]> wrote: Hi,Any one kno

Re: [qooxdoo-devel] XML DOM

2006-09-14 Thread Jhonny Everson
Hey, thanks. That happened because i was using the 0.6RC1 package, which doesn't have these directories. sorry for the inconvenience. and thanks. 2006/9/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > "Jhonny Everson" <[EMAIL PROTECTED]> writes: > > > Hi, thanks. > > > > "You can also use JSON and/or

Re: [qooxdoo-devel] XML DOM

2006-09-14 Thread Derrell . Lipman
"Jhonny Everson" <[EMAIL PROTECTED]> writes: > Hi, thanks. > > "You can also use JSON and/or qooxdoo RPC calls." > > Can someone give a link or a example on how to use RPC with php? the > samples given are for Java services. Sorry I couldn't make it work > with php. The java directory contains th

Re: [qooxdoo-devel] XML DOM

2006-09-14 Thread Jhonny Everson
Hi, thanks. "You can also use JSON and/or qooxdoo RPC calls." Can someone give a link or a example on how to use RPC with php? the samples given are for Java services. Sorry I couldn't make it work with php. -- Jhonny Everson

Re: [qooxdoo-devel] XML DOM

2006-09-14 Thread Andreas Junghans
Hi Jhonny, Am 14.09.2006 um 20:54 schrieb Jhonny Everson: > I'm trying to connect qooxdoo with php ( not PHP QxBuilder). I'm > using qx.io.remote.RemoteRequest and generating a XML response. I > got it, but how can i parse the XML in qooxdoo? I found no examples > or help about this. please

Re: [qooxdoo-devel] XML DOM

2006-09-14 Thread Derrell . Lipman
"Jhonny Everson" <[EMAIL PROTECTED]> writes: > I'm trying to connect qooxdoo with php ( not PHP QxBuilder). I'm using > qx.io.remote.RemoteRequest and generating a XML response. I got it, but how > can i parse the XML in qooxdoo? I found no examples or help about this. > please help me. Or someone

Re: [qooxdoo-devel] Parent.removeAll()

2006-09-14 Thread Tomek Loboda
I agree with Sebastian about implicit code. How about adding 'dispose' boolean argument to removeAll()? David: thanks for bringing that up. I wasn't aware of this behavior.. Best, --Tomek Sebastian Werner wrote: > It's not a good idea in my opinion. It's possible that you want to add > the ch

[qooxdoo-devel] XML DOM

2006-09-14 Thread Jhonny Everson
Hi,I'm trying to connect qooxdoo with php ( not PHP QxBuilder). I'm using qx.io.remote.RemoteRequest and generating a XML response. I got it, but how can i parse the XML in qooxdoo? I found no examples or help about this. please help me. Or someone have a better a idea on communicating to php? -- J

Re: [qooxdoo-devel] Basic HTTP authentication fixes

2006-09-14 Thread Derrell . Lipman
Antony Zanetti <[EMAIL PROTECTED]> writes: > The current HTTP authentification seems to not work on IE. > The username and password are embedded in the URL but it doesn't work anymore > in IE (see : http://support.microsoft.com/kb/834489 for more information). > > So, if you use a RemoteRequest ob

Re: [qooxdoo-devel] Transport error 405: Method not allowed

2006-09-14 Thread Derrell . Lipman
"Alex D." <[EMAIL PROTECTED]> writes: > Problem solved, Was I right in my recollection? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to mak

Re: [qooxdoo-devel] Transport error 405: Method not allowed

2006-09-14 Thread Derrell . Lipman
"Alex D." <[EMAIL PROTECTED]> writes: > It will be really great if anybody would give a hint regarding following > trouble: > i use IIS 6.0 as a webserver and become following error while using > qx.io.remote.rpc.callAsync() > *Transport error 405: Method not allowed > *Did anybody have the same p

Re: [qooxdoo-devel] Transport error 405: Method not allowed

2006-09-14 Thread Alex D.
Problem solved, thx anyway. Hi folks, It will be really great if anybody would give a hint regarding following trouble: i use IIS 6.0 as a webserver and become following error while using qx.io.remote.rpc.callAsync() Transport error 405: Method not allowed Did anybody have the same prob

[qooxdoo-devel] Profiling and Memory Leak Detection

2006-09-14 Thread Choon Whee
Hi, Any one know if Qooxdoo comes with and profiling and tools to detect memory leaks? If not does anyone have any idea what tools would be helpful to do these sort of stuff? Regards, Choon Whee - Using Tomcat but need to d

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Ricardo Borillo
Hi Christian,I follow exactly the same approach. I have a FormManager class with three methods:*. Bind. Register a set of "form" widgets in the FormManager.*. Fill. Fill the values of the widgets with an AJAX response. *. Clear. Remove all values from the widgets registered.I agree with you, this s

Re: [qooxdoo-devel] Modal window behaviour in ZK

2006-09-14 Thread Jim Hunter
I have not tried this yet, but you could simply try to overlay a panel on top of everything before you create the window. Give the panel a light gray color and set it's transparency to 80%-90%. This should make the other controls unreachable and give them a grayed out look without having to touch t

[qooxdoo-devel] Transport error 405: Method not allowed

2006-09-14 Thread Alex D.
Hi folks, It will be really great if anybody would give a hint regarding following trouble: i use IIS 6.0 as a webserver and become following error while using qx.io.remote.rpc.callAsync() Transport error 405: Method not allowed Did anybody have the same problem? Thx in advance, alex.d ---

Re: [qooxdoo-devel] Modal window behaviour in ZK

2006-09-14 Thread Tomek Loboda
I like the idea. Helps the user focus on THE window. Don't know how to achieve that though :-) Best, --Tomek dperez wrote: > Hi, > > I like the behaviour of modal windows in this ZK demo: > http://www.potix.com/zkdemo/userguide/ > > All the controls are darkened, when a modal window is opened

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Tomek Loboda
I vote for value. Best, --Tomek Sebastian Werner wrote: > I'm not sure. Maybe it's a good idea. Other opinions? > > Cheers, > > Sebastian > > > > dperez schrieb: >> Hi, >> >> I think I have found a bug. >> >> If the TextField of a combo box is not editable, ComboBox.getValue() should >> ret

Re: [qooxdoo-devel] Performance issues (maybe ListView?)

2006-09-14 Thread Alex D.
Table widget is only in qooxdoo 0.6 verison. Just see the online examples(Table 1) Cheers alex.d Have you tried the new qx.ui.table.Table? I haven't compared timings with ListView, becasue I use always the Table component. It is prepared to load data on the fly. I didn't fin

Re: [qooxdoo-devel] Basic HTTP authentication fixes

2006-09-14 Thread Antony Zanetti
Hi Derrel, >> Please tell me if my fixes are correct and then update SVN. > > Your patch looks reasonable. I'm not currently set up to be able to test it. > Have you tested this patch? Against what servers have you tested? It is working for me with Apache server. I think any web server handlin

Re: [qooxdoo-devel] Performance issues (maybe ListView?)

2006-09-14 Thread Robert
> Have you tried the new qx.ui.table.Table? > I haven't compared timings with ListView, becasue I use always the Table > component. > It is prepared to load data on the fly. I didn't find this Table component you mentioned. Can you provide a small example of how this should be used? Or, direct me

Re: [qooxdoo-devel] New documentation for DateChooser

2006-09-14 Thread Andreas Junghans
Hi David, Am 14.09.2006 um 07:27 schrieb dperez: > Yes, you were right, the line ending was the cause of the wrong > diff file. > I'll take into account next time. > > Here are the right diff: > > http://www.nabble.com/user-files/236005/DateChooser.diff > DateChooser.diff Much better, thanks

[qooxdoo-devel] Another ComboBox bug

2006-09-14 Thread dperez
Hi, When I press the tab button and have ComboBoxes, the focus is cycled between the TextField inside the combo and the ComboBox itself. I know this by the dotted frame around the control. I expect to only receive the focus the TextField, in the tab cycle. Hopefully to solve this, is as easy as

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
Maybe something like this could be implemented for 0.6 ... would also ease migration for me ;-) I am happy to share my ideas. When I use QxBuilder with the QxDataManager, writing a new dialogue with snazzy interactivity goes really fast! The baseline approach is to treat ALL widgets as potential f

Re: [qooxdoo-devel] Basic HTTP authentication fixes

2006-09-14 Thread Derrell . Lipman
Antony Zanetti <[EMAIL PROTECTED]> writes: > The current HTTP authentification seems to not work on IE. > The username and password are embedded in the URL but it doesn't work anymore > in IE (see : http://support.microsoft.com/kb/834489 for more information). > > So, if you use a RemoteRequest ob

Re: [qooxdoo-devel] Background color of buttons

2006-09-14 Thread dperez
I think that I understand you. It isn't so hard to create a new theme, because they can be inherit, through the use of carefullyMergeWith. Is it? The only problem, is that the init, state and setup functions aren't chained, with the base theme. Sebastian Werner wrote: > > May this wasn't clea

[qooxdoo-devel] Focused state

2006-09-14 Thread dperez
Hi, When I click a List, it doesn't receive the focused state. On the other hand, when I select the List with the tab, it does receive the focused state. Surely, it must be because, the ListItem receives the focused state in the first case. I would like to highlight always Lists that have focus.

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Ricardo Borillo
It's funny. Me too !!!This is because of the lack of databinding in qooxdoo. Any plans on this?On 9/14/06, dperez < [EMAIL PROTECTED]> wrote:I have done something similar too.  So it musn't be a bad idea Christian Boulanger (Bibliograph Development) wrote:>> In my QxDataManager extension, I hav

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread dperez
I have done something similar too. So it musn't be a bad idea Christian Boulanger (Bibliograph Development) wrote: > > In my QxDataManager extension, I have implemented a uniform behaviour for > all widgets that enourmously simplifies form handling. Instead of the > diverse ways of getting

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
In my QxDataManager extension, I have implemented a uniform behaviour for all widgets that enourmously simplifies form handling. Instead of the diverse ways of getting and setting the form element values (label, value, html, checked etc. etc.) and options (for those widgets which support options),

[qooxdoo-devel] Modal window behaviour in ZK

2006-09-14 Thread dperez
Hi, I like the behaviour of modal windows in this ZK demo: http://www.potix.com/zkdemo/userguide/ All the controls are darkened, when a modal window is opened, to emphasize that they unavailable. Is it easy to achieve something similar with qooxdoo? Maybe, playing with appearances. Regards, Da

[qooxdoo-devel] Popup autoHide

2006-09-14 Thread dperez
Hi, I have several widgets that popup a window (with a ColorSelector, a DateChooser, ) when clicked . I would like that when clicked, all other popups (if present) to be automatically closed. It doesn't make sense to have more than one popup open at once. I thought that this was the effect o

Re: [qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread dperez
Hi Sebastian, I understand the need of disposing for freeing memory, but when loading a new page, I think the browser discards ALL stuff related to the old page, and we shouldn't care about. A especial case is when we have several linked documents (iframes, window.open(), ) Sebastian Werner

Re: [qooxdoo-devel] Parent.removeAll()

2006-09-14 Thread dperez
Hi Sebastian, In the removeAll() documentation it should be warned that no items are disposed. I have a ComboBox, whose list of possible values I change depending on the value of some other widgets. When I have to renew the list of possible values I do something like this: function updateCombo(

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Dietrich Streifert
Yes the method should definitely return the value of the selected ListItem. And setValue should of course select the ListItem which has the given value. In general every ui.form widget should work like this so we can iterate through all ui.form widgets and get or set their value without havin

Re: [qooxdoo-devel] Window.close()

2006-09-14 Thread Sebastian Werner
Alex D. schrieb: > But the 'disappear' event will be dispatched independent of whether i > close a window with close-button at the top-right oder with my own > close-button, doesn't it? yes, that's true. Sebastian > > alex.d >> You could also use the "disappear" event. Maybe a cleaner method.

Re: [qooxdoo-devel] Window.close()

2006-09-14 Thread Alex D.
But the 'disappear' event will be dispatched independent of whether i close a window with close-button at the top-right oder with my own close-button, doesn't it? alex.d > > You could also use the "disappear" event. Maybe a cleaner method. :) > > Sebastian > > > > Alex D. schrieb: >> You can ove

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
I think it's a good idea. I have so far used a patch which overrides the QxComboBox.prototype.getValue() method to achieve this exact result. Best, Christian > I'm not sure. Maybe it's a good idea. Other opinions? > > Cheers, > > Sebastian > > > > dperez schrieb: >> Hi, >> >> I think I have found

Re: [qooxdoo-devel] Window.close()

2006-09-14 Thread Sebastian Werner
You could also use the "disappear" event. Maybe a cleaner method. :) Sebastian Alex D. schrieb: > You can override the _onclosebuttonclick routine of the window, but i > solved this problem with a flag in my code. > Cheers, > alex.d >> I have exactly same question. Let me know if you find a w

Re: [qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread Sebastian Werner
It's because of memory leaks. We need to help the browser to get all the acquired memory free afterwards. There are some issues that objects and especially DOM-nodes connected with each-other especially in case of circular references couldn't automatically resolved by the browser. That's the id

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Sebastian Werner
I'm not sure. Maybe it's a good idea. Other opinions? Cheers, Sebastian dperez schrieb: > Hi, > > I think I have found a bug. > > If the TextField of a combo box is not editable, ComboBox.getValue() should > return the value of the selected ListItem, instead of its label. > Do you agree? >

Re: [qooxdoo-devel] Background color of buttons

2006-09-14 Thread Sebastian Werner
May this wasn't clear enough. I meant creating a new appearance theme instead of modifying a existing theme. I don't mean the appearance entry but the whole theme. It's IMHO a bad idea to modify an object after it's creation. Better would be to define an own appearance theme and use this theme

Re: [qooxdoo-devel] Parent.removeAll()

2006-09-14 Thread Sebastian Werner
It's not a good idea in my opinion. It's possible that you want to add the children to another parent afterwards (move them) or just remove them temporary and re-add them afterwards. Implicit code is IMHO in the most cases not a good idea. Better it would be to add new methods like: removeAndDi

Re: [qooxdoo-devel] String compression (enabled by default)

2006-09-14 Thread Sebastian Werner
Ok, this is maybe a misunderstanding. String are values which are encapsulated with quotes. The only thing why we do this is to optimize the execution performance of IE. It's not better regarding of cosmetics. The case you mention are not strings, that elements are identifiers. It's much faster

Re: [qooxdoo-devel] Parent.removeAll()

2006-09-14 Thread dperez
Here is an implementation that disposes children: qx.Proto.removeAll = function() { var cs = this.getChildren(), co; while (co = cs[0]) { this.remove(co); co.dispose(); } } dperez wrote: > > Hi, > > I've discovered that qx.ui.core.Parent.removeAll() doesn't dispose its > chi

Re: [qooxdoo-devel] String compression (enabled by default)

2006-09-14 Thread dperez
Hi, Another case for string compressing, that could be more useful (it needs to be measured in practice): var dc = new qx.ui.component.DateChooser(); could be converted to: var dc = new qx[$[22]][$[50]][$[52]](); or just do this for strings whose length greater than a given value, e.g.

[qooxdoo-devel] Parent.removeAll()

2006-09-14 Thread dperez
Hi, I've discovered that qx.ui.core.Parent.removeAll() doesn't dispose its children, as I first supposed. It could be a good idea if it would. Regards, David -- View this message in context: http://www.nabble.com/Parent.removeAll%28%29-tf2270458.html#a6302101 Sent from the qooxdoo-devel forum

[qooxdoo-devel] Positioning a popup

2006-09-14 Thread dperez
Hi, Is there already in qooxdoo a way to position a popup (including windows) in a given point, but if it lies outside of the viewport, to move it so that it is fully visible? If not available, I can try to make one. Any assistance in this respect will be welcome. Regards, David -- View this m

[qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread dperez
Hi, Just for curiosity, why all objects are disposed in the window.unload event? For freeing memory? Isn't the memory automatically freed by the browser? Or perhaps for giving the objects a chance for doing something special? If this is the case, woudn't this slow down the broswer a little unnec

Re: [qooxdoo-devel] Background color of buttons

2006-09-14 Thread dperez
I agree with you in many cases, like a widget that I want a special appearance. But some other cases, like for example, changing the focus highlight for ALL TextFields, it is more practical to change the textfield appearance, instead of creating a new one. The cause of this, is that text fields a

[qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread dperez
Hi, I think I have found a bug. If the TextField of a combo box is not editable, ComboBox.getValue() should return the value of the selected ListItem, instead of its label. Do you agree? Regards, David -- View this message in context: http://www.nabble.com/ComboBox.getValue%28%29-bug-tf2270

[qooxdoo-devel] Basic HTTP authentication fixes

2006-09-14 Thread Antony Zanetti
Hi, The current HTTP authentification seems to not work on IE. The username and password are embedded in the URL but it doesn't work anymore in IE (see : http://support.microsoft.com/kb/834489 for more information). So, if you use a RemoteRequest object and set the username and the password,