Hi Martin, first, thanks for your answer. Your rights I didn't think about the strange thinks that could happen if the model is not unique ;) but I think it should be possible (even if there is then no way to set a selection by a given model). My use case is a widget I've implemented for the table to let the user define some filters. I have a SelectBox to select different comparator functions: "starts with", "contains", "equals", etc. With the selected column, comparator and given value from the user I recreate the hql for the backend, that's why I often have a "like" within the model (for "starts with", "contains", etc.) The application was build with qooxdoo 0.8.x and there was only a name and a value in the ListItem, the additional information are stored with setUserData to the ListItem. I think I have to recreate my miss designed FilterWidget to work with qooxdoo 1.x ;)
Thanks a lot Regards, Andreas > -----Ursprüngliche Nachricht----- > Von: MartinWittemann [mailto:[email protected]] > Gesendet: Mittwoch, 14. April 2010 15:09 > An: [email protected] > Betreff: Re: [qooxdoo-devel] Strange bug in SelectBox/ListItem > > > Hello Andreas, > I'm not surprised that the code fails in that case. If you have the same > model for the list items, you model selection is not unique anymore. > I currently don't get your use case. Why do you need the same model data on > more than one item? > Regards, > Martin > -- > View this message in context: http://n2.nabble.com/Strange-bug-in-SelectBox- > ListItem-tp4901415p4901543.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
