Re: [qooxdoo-devel] Error in online demos

2007-06-11 Thread dperez
Hi Hugh, I think no javascript debugger works for IE7. It's a shame for M$. Hugh Gibson wrote: > > Just running the online demos in IE7 with script debugging turned on. > Version says: 0.7.1 pre (r8483). > > Every demo gives an error on loading: > > --- > Error > ---

Re: [qooxdoo-devel] treefullcontrol is missing in current trunk

2007-06-11 Thread Tobias Koller (GERMO GmbH)
Oh..thanks a lot! I missed that. Tobias Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dietrich Streifert Gesendet: Dienstag, 12. Juni 2007 07:58 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] treefullcontrol is missing in current trunk Hi Tobias, from the qoox

Re: [qooxdoo-devel] treefullcontrol is missing in current trunk

2007-06-11 Thread Dietrich Streifert
Hi Tobias, from the qooxdoo-commit mailing list: Revision: 8515 http://svn.sourceforge.net/qooxdoo/?rev=8515&view=rev Author: fjakobs Date: 2007-06-11 03:30:28 -0700 (Mon, 11 Jun 2007) Log Message: --- Merge tree and treefullcontrol: The new tree is API compatible with bo

[qooxdoo-devel] treefullcontrol is missing in current trunk

2007-06-11 Thread Tobias Koller (GERMO GmbH)
Hi list, is it possible that the qx.ui.treefullcontrol-widget is no longer available in qooxdoo? After my SVN-Update the widget disappeared. Tobias - This SF.net email is sponsored by DB2 Express Download DB2 Express

Re: [qooxdoo-devel] How do I add an event handler in D4PHP?

2007-06-11 Thread Jim Hunter
I always add this sort of stuff in the onShow JavaScript event of the form. In that event you can add any missing properties or event listeners that you need. Jim www.D4PHP.org www.D4PHP-Hosting.com On 6/6/07, FrozenDice <[EMAIL PROTECTED]> wrote: I know there are a few people here who use D

Re: [qooxdoo-devel] Object disposal

2007-06-11 Thread Nick Glencross
Clicked too soon! Here are the patches! Nick disposeProperties.patch Description: Binary data table.patch Description: Binary data dateChooser.patch Description: Binary data comboBoxEx.patch Description: Binary data

Re: [qooxdoo-devel] Object disposal

2007-06-11 Thread Nick Glencross
On 11/06/07, Nick Glencross <[EMAIL PROTECTED]> wrote: > On 11/06/07, Sebastian Werner <[EMAIL PROTECTED]> wrote: > > Maybe you would like to add a new functionality to qx.core.Object to > > allow this more easily e.g. _disposeProperty("tooltip", ...); > > I think _disposeProperty is exactly what's

Re: [qooxdoo-devel] TreeVirtual and hideOpenClose

2007-06-11 Thread Joe Hudson
Thanks for your help Derrell, I missed that. Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, June 11, 2007 1:12 PM To: qooxdoo Development Subject: Re: [qooxdoo-devel] TreeVirtual and hideOpenClose "Joe Hudson" <[EMAIL

Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN: qooxdoo: [8522] trunk/qooxdoo/frontend/framework/source/class/ qx/html2/Element.js

2007-06-11 Thread derrell . lipman
[EMAIL PROTECTED] writes: > Revision: 8522 > http://svn.sourceforge.net/qooxdoo/?rev=8522&view=rev > Author: wpbasti > Date: 2007-06-11 06:16:25 -0700 (Mon, 11 Jun 2007) > > Log Message: > --- > Added support for removing elements Sebastian, would you please post a summary

Re: [qooxdoo-devel] TreeVirtual and hideOpenClose

2007-06-11 Thread derrell . lipman
"Joe Hudson" <[EMAIL PROTECTED]> writes: > I’m having trouble getting the hideOpenClose method to work with the .7 > release > > The example in TreeVirtual_2.html show: tree.nodeSetHideOpenClose(node, > true); > But, I get the following error: “this._tree.nodeSetHideOpenClose is not a > function”

Re: [qooxdoo-devel] Unable to use initialization method of a property

2007-06-11 Thread derrell . lipman
Dietrich Streifert <[EMAIL PROTECTED]> writes: > Hi Fabian, > > I'm sorry but the initializer method was already called behind the > this.base(arguments,...) call but it did not work. Here is the code of the > constructor: > > construct : function(vCaption, vIcon, vWindowManager) > { >this.b

[qooxdoo-devel] TreeVirtual and hideOpenClose

2007-06-11 Thread Joe Hudson
I’m having trouble getting the hideOpenClose method to work with the .7 release The example in TreeVirtual_2.html show: tree.nodeSetHideOpenClose(node, true); But, I get the following error: “this._tree.nodeSetHideOpenClose is not a function” Can anybody help me with this? Thanks. Joe No virus

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread FrozenDice
Well remember, if the user is submitting data(which they probably are) to be processed by something on the server then it's not a good idea to rely on server side prevention. What I'm saying is if you're using it in an sql query or something then the user can easily tweak the html or just replicat

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread Hugh Gibson
> Yes, this is normal. > > Static members are not inherited. You need to use a additional > ".superclass" then. Was this a conscious design decision? It seems to me to go against the OO grain to have to work out which superclass defines the static that you want. Hugh --

[qooxdoo-devel] "Do you want to delete all your personal data" still in showcase

2007-06-11 Thread Hugh Gibson
I see that the Window demo now asks you "Do you want to fly to Rio?". However, the showcase still says "Do you want to delete all your personal data?". Maybe it would be nicer to change the latter to be consistent. Hugh - Th

[qooxdoo-devel] Error in online demos

2007-06-11 Thread Hugh Gibson
Just running the online demos in IE7 with script debugging turned on. Version says: 0.7.1 pre (r8483). Every demo gives an error on loading: --- Error --- A Runtime Error has occurred. Do you wish to Debug? Line: 11 Error: Object expected

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
The events "keyinput" or "keypress" are better than "keydown" I think ;) But I don't know if there's a way to manipulate the pressed key. Tobias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller (GERMO GmbH) Gesendet: Montag, 11. Juni

[qooxdoo-devel] NumberFormat bug

2007-06-11 Thread dperez
Hi I consider this a bug: qx.util.format.NumberFormat.getInstance().format(15.5) == '15cldr_number_decimal_separator5' Posted bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=478 Regards, David -- View this message in context: http://www.nabble.com/NumberFormat-bug-tf3902042.html#a11062129 Se

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
Maybe you can catch the "keydown"-event and manipulate the value to null before it is set to the textarea? Is this possible? Tobias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Haferkorn Gesendet: Montag, 11. Juni 2007 15:22 An: qooxdoo

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread dperez
Re-thanks again. Updated wiki: http://qooxdoo.org/documentation/0.7/oo_feature_summary Sebastian Werner wrote: > > Yes, this is normal. > > Static members are not inherited. You need to use a additional > ".superclass" then. > -- View this message in context: http://www.nabble.com/this.se

Re: [qooxdoo-devel] Attaching a mixin to an object

2007-06-11 Thread dperez
Thanks Dietrich, Updated http://qooxdoo.org/documentation/0.7/oo_feature_summary Dietrich Streifert wrote: > > I'm doing this at the end of the mixin JS File in this case the > MBinding.js file: > > qx.Class.include(qx.ui.core.Widget,qx.visionet.xml.MBinding); > -- View this message in

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread Sebastian Werner
Yes, this is normal. Static members are not inherited. You need to use a additional ".superclass" then. Sebastian dperez schrieb: > Not fully solved. :-( > > I have: > > qx.Class.define('A', { > statics: { > f: function() {} > } > }); > > qx.Class.define('B'), { > extend: A, >

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread dperez
Not fully solved. :-( I have: qx.Class.define('A', { statics: { f: function() {} } }); qx.Class.define('B'), { extend: A, members: { e: function() { this.self(arguments).f(); } } }); calling (new B()).e() results in this.self(arguments).f==undefined Is this n

Re: [qooxdoo-devel] Object disposal

2007-06-11 Thread Nick Glencross
On 11/06/07, Sebastian Werner <[EMAIL PROTECTED]> wrote: > Maybe you would like to add a new functionality to qx.core.Object to > allow this more easily e.g. _disposeProperty("tooltip", ...); I think _disposeProperty is exactly what's needed. I shall write it! Nick --

Re: [qooxdoo-devel] Object disposal

2007-06-11 Thread Sebastian Werner
Nick Glencross schrieb: > Sebastian et. al., > > On 08/06/07, Sebastian Werner <[EMAIL PROTECTED]> wrote: >> Nick, >> >> Ok, thank you for your feedback. I think I know what the issue is in >> some of these cases. >> >> The property system automatically handles the dispose of assigned >> qooxdoo o

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread dperez
Bingo, that was it! Base class was Object, not qx.core.Object Placed this valuable info in the wiki! Updated http://qooxdoo.org/documentation/0.7/class_declaration and http://qooxdoo.org/documentation/0.7/oo_feature_summary Sebastian Werner wrote: > > Can you tell me what's the superclass is?

Re: [qooxdoo-devel] Object disposal

2007-06-11 Thread Nick Glencross
Sebastian et. al., On 08/06/07, Sebastian Werner <[EMAIL PROTECTED]> wrote: > Nick, > > Ok, thank you for your feedback. I think I know what the issue is in > some of these cases. > > The property system automatically handles the dispose of assigned > qooxdoo objects if the value defined with the

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Daniel Haferkorn
Hello Tobias, Tobias Koller (GERMO GmbH) wrote: > Hello, > > I think the main problem is, that there is no maxlength-attribute for a > textfield in standard HTML. > A quick solution would be something like this: > var tarea = new qx.ui.form.TextArea(); > tarea.set({width: 100, height: 100});

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread Sebastian Werner
Can you tell me what's the superclass is? It should be at least qx.core.Object. Otherwise this.self is undefined. Sebastian dperez schrieb: > With the debugger I can see my object has this members (apart from my own > ones): > > - basename > - name > - classname > - $$initialized='true' > >

Re: [qooxdoo-devel] Attaching a mixin to an object

2007-06-11 Thread Dietrich Streifert
I'm doing this at the end of the mixin JS File in this case the MBinding.js file: qx.Class.include(qx.ui.core.Widget,qx.visionet.xml.MBinding); dperez schrieb: > Hi > > Can I attach a mixin to an already created object? > This feature is different than including a mixin to a class. > > > Re

Re: [qooxdoo-devel] this.self(arguments)

2007-06-11 Thread dperez
With the debugger I can see my object has this members (apart from my own ones): - basename - name - classname - $$initialized='true' dperez wrote: > > Hi, > > I have a regular method call to an object (not a static one), and with the > debugger I see that this.self doesn't exist. > > I pret

[qooxdoo-devel] this.self(arguments)

2007-06-11 Thread dperez
Hi, I have a regular method call to an object (not a static one), and with the debugger I see that this.self doesn't exist. I pretend to call this.self(arguments). Is this a bug? Thanks for any hint Regards, David -- View this message in context: http://www.nabble.com/this.self%28arguments%

[qooxdoo-devel] Attaching a mixin to an object

2007-06-11 Thread dperez
Hi Can I attach a mixin to an already created object? This feature is different than including a mixin to a class. Regards, David -- View this message in context: http://www.nabble.com/Attaching-a-mixin-to-an-object-tf3901746.html#a11061092 Sent from the qooxdoo-devel mailing list archive at

[qooxdoo-devel] liveUpdate behaviour

2007-06-11 Thread Nick Glencross
Hi all! I've been using the changeValue event with liveUpdate to control the Enabled property of two mutually exclusive fields. Works well, but I found that when I removed all the text in a field the event doesn't trigger. Looking at the code, the current value is remembered when the widget recei

Re: [qooxdoo-devel] 0.7: Color equivalent

2007-06-11 Thread dperez
Thanks Fabian & Sebastian Fabian Jakobs-2 wrote: > > the properties "color" and "backgroundcolor" always return string > values. You can use the methods defined in "qx.util.colorUtil" to > convert the color strings into other color representations, e.g. RGB > arrays. > -- View this message

Re: [qooxdoo-devel] receiving property event for tabIndex?

2007-06-11 Thread Fabian Jakobs
Ralf Sternberg schrieb: > Hi, > > I added a listener on the "changeTabIndex" event on a > HorizontalBoxLayout. This stopped working with qx 0.7. It seems that > there is no "changeTabIndex" event anymore. Is there any other way to be > notified when the "tabIndex" property changes on a widget? >

Re: [qooxdoo-devel] Qooxdoo widgets registry access

2007-06-11 Thread zindel
Hi, Fabian! That looks great! Seems to be what I was looking for. Thanks a lot ! Alexei > > > > Is there any way to access the qooxdoo widget somehow except the direct > > approach (by name in the code)? > > > > Here the example: > > // Application main function > > qx.Proto.main = function(e) {

Re: [qooxdoo-devel] Unable to use initialization method of a property

2007-06-11 Thread Dietrich Streifert
Hi Fabian, I'm sorry but the initializer method was already called behind the this.base(arguments,...) call but it did not work. Here is the code of the constructor: construct : function(vCaption, vIcon, vWindowManager) { this.base(arguments, vCaption, (vIcon ? vIcon : 'icon/16/actions/

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
Hello, I think the main problem is, that there is no maxlength-attribute for a textfield in standard HTML. A quick solution would be something like this: var tarea = new qx.ui.form.TextArea(); tarea.set({width: 100, height: 100}); tarea.addEventListener("input"

[qooxdoo-devel] receiving property event for tabIndex?

2007-06-11 Thread Ralf Sternberg
Hi, I added a listener on the "changeTabIndex" event on a HorizontalBoxLayout. This stopped working with qx 0.7. It seems that there is no "changeTabIndex" event anymore. Is there any other way to be notified when the "tabIndex" property changes on a widget? Thanks in advance, Ralf --

Re: [qooxdoo-devel] 0.7: Color equivalent

2007-06-11 Thread Sebastian Werner
dperez schrieb: > Dear Qooxdoo gurus: > > What's the equivalent in 0.7 for Color.getStyle(): > > var clr = parent.getBackgroundColor(); > if (clr && clr.getStyle() != 'transparent') > . Color is always the original string, not an object anymore. You can simply us

Re: [qooxdoo-devel] 0.7: Color equivalent

2007-06-11 Thread Fabian Jakobs
dperez schrieb: > Dear Qooxdoo gurus: > > What's the equivalent in 0.7 for Color.getStyle(): > > var clr = parent.getBackgroundColor(); > if (clr && clr.getStyle() != 'transparent') > . > > the properties "color" and "backgroundcolor" always return string values.

Re: [qooxdoo-devel] Unable to use initialization method of a property

2007-06-11 Thread Fabian Jakobs
Dietrich Streifert schrieb: > Hello List, > > I have a widget with a property called messageIcons which is defined as > follows: > > messageIcons : > { > check : "Object" > } > > As documented in: > > http://qooxdoo.org/documentation/0.7/defining_properties?s=properties > > I'm u

Re: [qooxdoo-devel] Qooxdoo widgets registry access

2007-06-11 Thread Fabian Jakobs
Hi Alexei, Hello, List Is there any way to access the qooxdoo widget somehow except the direct approach (by name in the code)? Here the example: // Application main function qx.Proto.main = function(e) { var layout = new qx.ui.core.VerticalBoxLayout(); layout.addToDocument();

Re: [qooxdoo-devel] Call stack

2007-06-11 Thread dperez
I have seen this code in Property.js: error : function(obj, id, property, variant, value) { var classname = obj.constructor.classname; var msg = "Error in property " + property + " of class " + classname + " in method " + this.$$method[variant][property] + " with incoming valu

[qooxdoo-devel] Call stack

2007-06-11 Thread dperez
Hi, It would be nice to have a call stack for errors like this: [Exception... "'Error: Error in property backgroundColor of class qx.ui.basic.Terminator in method setBackgroundColor with incoming value '255,255,0': Is invalid!' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "

[qooxdoo-devel] 0.7: Color equivalent

2007-06-11 Thread dperez
Dear Qooxdoo gurus: What's the equivalent in 0.7 for Color.getStyle(): var clr = parent.getBackgroundColor(); if (clr && clr.getStyle() != 'transparent') . I haven't found the Color class (only qx.theme.manager.Color) This is the hardest migration, even the

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
0.7 also doesn't work. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Haferkorn Gesendet: Montag, 11. Juni 2007 13:47 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea Hello,

[qooxdoo-devel] Unable to use initialization method of a property

2007-06-11 Thread Dietrich Streifert
Hello List, I have a widget with a property called messageIcons which is defined as follows: messageIcons : { check : "Object" } As documented in: http://qooxdoo.org/documentation/0.7/defining_properties?s=properties I'm using in the constructor the initializer method of the

[qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Daniel Haferkorn
Hello, I'd like to know how to correctly set the maximum allowed number of characters for a TextArea. I tried to use the method SetMaxLength() which the TextArea inherits from the TextField widget, but it doesn't work: tArea.setMaxLength(25); The user is unfortunately still able to enter more t

Re: [qooxdoo-devel] Accessing static members

2007-06-11 Thread dperez
Thanks Sebastian. wow, what a quick answer :-) Updated the wiki! Sebastian Werner wrote: > > Static functions can directly access the static members using the "this" > keyword. > > e.g. > > this.otherStaticMethod(); > > or > > this.staticField; > > Hope this helps. > > Sebastian > --

Re: [qooxdoo-devel] Accessing static members

2007-06-11 Thread Sebastian Werner
Static functions can directly access the static members using the "this" keyword. e.g. this.otherStaticMethod(); or this.staticField; Hope this helps. Sebastian dperez schrieb: > Hi, > > This syntax this.self(arguments) as documented here: > http://qooxdoo.org/documentation/0.7/oo_feature

[qooxdoo-devel] Accessing static members

2007-06-11 Thread dperez
Hi, This syntax this.self(arguments) as documented here: http://qooxdoo.org/documentation/0.7/oo_feature_summary#accessing_static_members serves for accessing static members from regular members. It seems to fail when calling a static member from a static function. Is the same syntax valid? Tha

Re: [qooxdoo-devel] Qooxdoo widgets registry access

2007-06-11 Thread zindel
Thanks, Leander > Without an var before the variable name ( var layout = -> layout = ) > your object should be global accessable. > > Another way is to add it to the parent class (this._layout) or as an > property. Well, these two ways are not acceptable for me. I would like to know the most

Re: [qooxdoo-devel] Qooxdoo widgets registry access

2007-06-11 Thread Leander Hanwald
Hi Without an var before the variable name ( var layout = -> layout = ) your object should be global accessable. Another way is to add it to the parent class (this._layout) or as an property. Or look at the guibuilder class, I think there is another way used which I'm not remember :) Greeti

[qooxdoo-devel] Qooxdoo widgets registry access

2007-06-11 Thread zindel
Hello, List Is there any way to access the qooxdoo widget somehow except the direct approach (by name in the code)? Here the example: // Application main function qx.Proto.main = function(e) { var layout = new qx.ui.core.VerticalBoxLayout(); layout.addToDocument(); var b

Re: [qooxdoo-devel] Enhancing ComboBox

2007-06-11 Thread dperez
It's a pending task. Paul Morel wrote: > > The comboBoxEx doesn't appear to have a setting for indicating which > columns should be rendered as images. In v0.64 and the new v0.7 the > comboBoxEx demo both show the image name, not the image. Is there a > setting I'm not aware of or is this som

Re: [qooxdoo-devel] XML RPC >> ZendFramework

2007-06-11 Thread Christian Boulanger
Hi, I assume JSON-RPC is much faster than XML-RPC on the client side - since on the client - JSON can be converted into native javascript data through simple "eval" while XML has to be parsed for the data. So it seems it would be worth converting the xml to json on the server before the transf

Re: [qooxdoo-devel] XML RPC >> ZendFramework

2007-06-11 Thread C.Bieser
I'll use Ajax with JSON to communicate with the ZF Controller in the backend. Not safe but it will work until I've time to fix this. Derrell.Lipman wrote: > > Ok. I'm not quite sure how you're going to do that. There's no > existing code that specifically talks to ZF. If you're writing a > q

Re: [qooxdoo-devel] FCKeditor snippet update

2007-06-11 Thread Fabian Jakobs
Hello Hubert, > So, the automagically migrated script is working fine, > anyways, I updated the Wiki page with the new class syntax: > > http://qooxdoo.org/documentation/0.7/snippets/using_fckeditor_as_a_rich_text_editor_in_qooxdoo > > Thanks for the update. > Of course, it would be great to hav