Fixed in SVN Sebastian
Priebe, Jason schrieb:
Combobox: No, I haven't tested it yet. An small example would be great.I did actually submit an example before. Attached is an example that does not rely on my patches. To replicate, load the page, and then immediately hit the "Set Selected Index" button. You will notice that in the debug console, you will get "no items in list". (you need Til's window_logger.js for this example) Now click the arrow on the combo box. Do not make a selection. Click the arrow to close the combo box. Now hit "Set Selected Index". The combo will be set to "Item 2". As soon as the popup appears, the getManager().getItems() returns a non-empty array. But until the popup appears, the call returns an empty array. My terrible workaround is to add this to the combo: globals.cb1.addEventListener ('appear', function (e) { globals.cb1.setMaxPopupHeight (0); globals.cb1._openPopup(); globals.cb1._closePopup(); globals.cb1.setMaxPopupHeight (100); } ); (using my maxPopupHeight patch of the other day) I know that I shouldn't use those private functions, but I couldn't find any other way to accomplish this. Jason PriebeCBC New Media
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
