My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 10: Sortable Tokenfield
3 people starred this issue and may be notified of changes. Back to list
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.

Powered by Google Project Hosting