Re: [qooxdoo-devel] Adding to inherited properties

2009-08-14 Thread Derrell Lipman
On Fri, Aug 14, 2009 at 12:21, aditya siram wrote: > Hi all, > I am using classes to categorize possible errors that can occur. For > example, base class A has: > properties { > errors : {init : ["GenericError"]} > } > > and class B which extends A has : > properties { > errors : {init : ["Cl

Re: [qooxdoo-devel] Problem with images

2009-08-14 Thread GlebM
Since no solution was found, we decided to release with a default theme. Which is a pity, because DJs don't like bright themes. It hurts their eyes. -- View this message in context: http://www.nabble.com/Problem-with-images-tp24780886p24979464.html Sent from the qooxdoo-devel mailing list archiv

Re: [qooxdoo-devel] Table Font Size and vAlign

2009-08-14 Thread GlebM
Has anyone found a good solution? At least for the vertical align? -- View this message in context: http://www.nabble.com/Table-Font-Size-and-vAlign-tp24780925p24979448.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ---

Re: [qooxdoo-devel] The easiest way to put a button in a table cell

2009-08-14 Thread GlebM
Thank you, Fabian! It worked. We drew a beautiful button, so it looks cool :) -- View this message in context: http://www.nabble.com/The-easiest-way-to-put-a-button-in-a-table-cell-tp24775468p24979435.html Sent from the qooxdoo-devel mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Unable to add a listener

2009-08-14 Thread aditya siram
But if I add the listener to an explicit widget (as opposed to going through the for...in loop), it works. So for example, this doesn't work: for (w in [login,password]) { w.addListener("focus", function (e) { ...some action ...}); } but this does: login.addListener("focus", function (e) { ...s

[qooxdoo-devel] Unable to add a listener

2009-08-14 Thread aditya siram
Hi all, I have the following function that adds the same action on a "keyinput" event to a list of widget: on_key_input : function (widgets, action) { for (w in widgets) { w.addListener("keyinput", function(e) { action();

[qooxdoo-devel] Adding to inherited properties

2009-08-14 Thread aditya siram
Hi all, I am using classes to categorize possible errors that can occur. For example, base class A has: properties { errors : {init : ["GenericError"]} } and class B which extends A has : properties { errors : {init : ["Class_B_Specific_Error"]} } I would like class B's 'errors' to also inclu

[qooxdoo-devel] Form management, databinding and serialization

2009-08-14 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, I read with great interest the last work on form management, data binding and serialization. If I understand correctly, this is like a software package that will allow one big feature : complete lifecycle mamagement for data in form. This is really interesting ! So when will that become

Re: [qooxdoo-devel] setting the selected list item of a select box

2009-08-14 Thread Daniel Wagner
Hi Nathan, setSelection() with an array of items should work. The following code works for me in the Playground (revision 19829): var list = new qx.ui.form.SelectBox(); this.getRoot().add(list); var item1 = new qx.ui.form.ListItem("item1"); var item2 = new qx.ui.form.ListItem("item2"); list.add(

Re: [qooxdoo-devel] Setting a property in qooxdoo

2009-08-14 Thread GlebM
A few comments to the code. The "none" state is the initial state on object creation. When the object is created, we do not need to make request if the name comes as a parameter. The "renamed" state is the default state. And the "renaming" state is the state when the object is being renamed. Th

Re: [qooxdoo-devel] Setting a property in qooxdoo

2009-08-14 Thread GlebM
Hi, guys! I tried all the methods, and here is what I consider the best solution: members: { __name: null, getName: function(value) { return this.__name; }, setName: function(value) { if (value == this.__name) { retur

[qooxdoo-devel] setting the selected list item of a select box

2009-08-14 Thread Nathan Hadley
Hello all, I'm trying to set the selected item in a list box using setSelected(listitem) and it doesn't work. I'm aware that similar controls require an array of items and have tried this too, again with no success. I've also tried setSelection() and this doesn't work either so can anyone tell m

Re: [qooxdoo-devel] Customising ListItem?

2009-08-14 Thread Matthew Gregory
Your welcome, just remember to escape the strings if you cannot garante that each line doesn't contain anything that might be seen as HTML: var br = ""; var content = qx.bom.String.fromText(line1) + br + qx.bom.String.fromText(line2) + br + qx.b

Re: [qooxdoo-devel] Customising ListItem?

2009-08-14 Thread Michael Ochs
Great! That works perfectly and lets me skin the ListItem very comfortable. Thanks for the hint! Best regards, Michael Am 14.08.2009 um 11:08 schrieb Matthew Gregory: > qx.ui.form.ListItem inherits from Atom, you should just be able to the > rich property to true and set your lines as HTML. >

Re: [qooxdoo-devel] Form Controller and Form Manager Design Questions

2009-08-14 Thread MartinWittemann
Hi, if a list is in the form, the selection will be taken for serialization. Take a look at the Form demo in the data section to see how you can handle the selection of a SelectBox (which is like a list) and how you can serialize that. http://demo.qooxdoo.org/devel/demobrowser/#data~Form.html The

Re: [qooxdoo-devel] Form Controller and Form Manager Design Questions

2009-08-14 Thread Guilherme Aiolfi
Hi Martin, On Fri, Aug 14, 2009 at 3:33 AM, MartinWittemann wrote: > > Hello Guilherme, > > its never too early to talk about things in development. Your questions > brought up use cases I hadn't in mind jet. > But now to your questions: > 1) The List and the ListItems have te be created by the us

Re: [qooxdoo-devel] qx.bom.Collection: Append collection fails in IE8

2009-08-14 Thread Florian Giesen
Thanks, Jonathan! (for both mails ;-) Regards, Florian 2009/8/14 Jonathan Weiß > > Hallo Florian, > > > since your code works well in other browsers I would say this is a bug in > qx.bom.Collection. I opened a bug report using your information: > http://bugzilla.qooxdoo.org/show_bug.cgi?id=268

Re: [qooxdoo-devel] qx.bom.Collection: Append collection fails in IE8

2009-08-14 Thread Jonathan Weiß
Hallo Florian, since your code works well in other browsers I would say this is a bug in qx.bom.Collection. I opened a bug report using your information: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2684 Thanks - again! :-) Kind regards Jonathan - Jonathan Weiß Framework Engineer http://

Re: [qooxdoo-devel] qx.bom.Collection: Append collection fails in IE8

2009-08-14 Thread Jonathan Weiß
Hallo Florian! Thank you for reporting this issue. I opened a bug report using your information: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2683 You can add yourself as a CC to get informed when we work on this bug. Kind regards Jonathan - Jonathan Weiß Framework Engineer jonathan.we...@

[qooxdoo-devel] qx.bom.Stylsheet.includeFile() fails with Chrome

2009-08-14 Thread Florian Giesen
Hello QooXdoo-Team, including a CSS File with qx.bom.Stylsheet.includeFile() with Chrome 2.0.x fails with the message "Uncaught TypeError: Cannot call method 'appendChild' of undefined" in Stylesheet.js line 61. Here is my code snippet: var nativeWin = qx.bom.Window.open("", this.tr("Print"), {w

Re: [qooxdoo-devel] Customising ListItem?

2009-08-14 Thread Matthew Gregory
qx.ui.form.ListItem inherits from Atom, you should just be able to the rich property to true and set your lines as HTML. var li = new qx.ui.form.ListItem().set( { rich : true, label : line1 + "" + line2 + "" + line3 }); That should save you having to write your own widget. BTW: There if t

[qooxdoo-devel] qx.bom.Collection: Append collection fails in IE8

2009-08-14 Thread Florian Giesen
Hello everybody, the following code snippet executes fine in FF3.5.x and Safari but not in IE8 (also in IE7 compatibility mode): var nativeWin = qx.bom.Window.open("", this.tr("Print"), {width: 600, height : 800}); var c = qx.bom.Collection.html("test"); qx.bom.Collection.query("body", nativeWin.