>
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 bug report, but I'd like to wait for an official
developer to comment on this before I spam the bugzilla. ;)

Regards,
Daniel Haferkorn




Peter Schneider <p.schneider <at> tis-gmbh.de> writes:
> 
> 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+- */)
> -------------------------
> [...]
> qx.Proto._modifySelected = function(propValue, propOldValue, propData)
> {
>   this._fromSelected = true;
> 
>   // only do this if we called setSelected seperatly
>   // and not from the property "value".
>   if (!this._fromValue) {
> 
> /* ps+ */
>     this.setValue(propValue ? propValue.getLabel().toString() : "");
> /* ps- */
>   }
> [...]
> -------------------------
> 
> The change is just the ".toString()" call. This will avoid the error when
> selecting one element via qx.ui.form.ComboBox.setSelected()
> 
> The only thing that does not work is the update of the "current selection"
> field.
> (...)
> I'm not sure if my approach might not be the "golden way" of doing it, but
> as I don't know any better... ;)
> Is here any (other) developer listening in, that could give a good solution to
> this? I think this is an issue for the qooxdoo framework.
> 
> Best regards
>    Peter


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to