Ups. Just sent an empty message. What I meant to write was:
Krycek wrote: > > I gave a closer look at the token input code and even though it's possible > to have a 1:1 port it would be better to change the code so it can act > like > a real qooxdoo widget. > > That way it can take advantage of the event's abstraction (keydown, keyup, > focus, blur) already implemented in the list widget. That alone would > reduce > a lot of code and would prevent ourselves of dealing with the DOM > directly. > > We could use the ComboBox widget that already have all we need. The only > think that would be left for us to change would be adding some kind of > Token's itens to the left of the inputbox. > > A good idea here would be use a HBox to handle those items. > > What do you think? > Sounds good. I will need (and implement based on your work) a CellEditor for the virtual widget which will have to place the combo box at the right position and a CellRenderer which displays the tags. As to the styling of the tokens, it seems to be a good idea to re-use the CSS that comes with the jQuery plugin. Or are you going to write a theme entry for that? Would be better of course, but more work. C. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Token-Field-widget-qooxdoo-virtual-widget-jQuery-tp5478029p5480017.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
