Issue 10: Sortable Tokenfield
Status:  New
Owner: ----
Reported by RaffaelB...@gmail.com, Jan 9, 2013
Hi, 
I'm using tokenfield and really like it. I wrote a class extending TokenField to make it sortable with drag'n'drop using https://vaadin.com/directory#addon/dragdroplayouts

Unfortunately I had to patch the TokenField class to get it to work. It is a really simple patch for the revision r19. It only uses LinkedHashSet instead of HashSet in the setInternalValue function.
Would you mind applying it for the next release?
If you like to add my SortableTokenField class to the add-on you will find a simple version attached to the issue. An improved version would need more changes in your code. 

Thanks for the cool add-on
Raffael

sortable.patch
1.7 KB   View   Download
SortableTokenField.java
4.2 KB   View   Download
Nov 12, 2014
#1 gdress...@gmail.com
+1 to use LinkedHashSet instead of HashSet in the setInternalValue function.