Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-16 Thread Daniel Haferkorn
Fabian Jakobs wrote: > Hi Daniel, > Please spam Bugzilla ;-) > > The combobox is not localization aware and should definitively be > changed. Please report this in our bugzilla so it won't get lost. > > > Best Fabian Hi Fabian, Bugzilla has been succesfully spammed: http://bugzilla.qooxdoo.

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-16 Thread Fabian Jakobs
Hi Daniel, > Hi Peter, > thank you very much for the additional research. I have made the suggested > changes to the ComboBoxEx.js in the framework, and it works now exactly as you > describe it. > This may not be the perfect solution, but it's already much better than the > way > it was before. >

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-13 Thread Daniel Haferkorn
> Hi again, I just wrote a workaround for the issue that the selected entry wont be translated in my application. The event listener for the language changer now stores the selected ListItem, then changes the selection to the first item, which is "?" and will never be translated :) and changes th

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread Daniel Haferkorn
> Sorry, I meant ComboBox.js. I was thinking about my other problems when I wrote this. :) dperez yahoo.es> writes: > > > Hi, > > ComboBoxEx.js or ComboBox.js? > - Take Surveys. Earn Cash. Influence the Future of IT

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread dperez
Hi, ComboBoxEx.js or ComboBox.js? Daniel Haferkorn wrote: > > Hi Peter, > thank you very much for the additional research. I have made the suggested > changes to the ComboBoxEx.js in the framework, and it works now exactly as > you > describe it. > This may not be the perfect solution, but it'

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread Daniel Haferkorn
> Hi Peter, thank you very much for the additional research. I have made the suggested changes to the ComboBoxEx.js in the framework, and it works now exactly as you describe it. This may not be the perfect solution, but it's already much better than the way it was before. This is probably worth a

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread Peter Schneider
Hi Daniel, sorry that my "solution" was not that successful as I hoped, but you're right this was just something I didn't test... After a while searching I found one thing that might help you: If you change the following part in qx.ui.form.ComboBox: (changes marked by /* ps+- */) ---

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread Daniel Haferkorn
> Peter Schneider tis-gmbh.de> writes: > > Hi Daniel, > > I experienced the same with my application here... > It is annoying, but not unsolvable: > > just "force" 'em to String()... > > var noItem = new qx.ui.form.ListItem(String(this.tr("No"))); > > ...and you're off. > > I know it's real

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-11 Thread Peter Schneider
Hi Daniel, I experienced the same with my application here... It is annoying, but not unsolvable: just "force" 'em to String()... var noItem = new qx.ui.form.ListItem(String(this.tr("No"))); ...and you're off. I know it's really weird why other qooxdoo-classes seem to get it right, while the

[qooxdoo-devel] Problem with ComboBox and tr()

2007-04-11 Thread Daniel Haferkorn
Hello, I have a problem with the ComboBox widget and the translation of Strings. For example, I create a combo box: var combo = new qx.ui.form.ComboBox; now I add some list items and make sure that one is selected when the application is started: var unsureItem = new qx.ui.form.ListItem("?"); va