I don't think you need to go nuts and worry much about a ListView. Use a Select2 instead of the drop-down and have a custom panel instead of the plain old option. You can place an Add button or something or better yet, check boxes and then you won't need the second list.
Suppose you do stick to old HTML components like a DropDown and a ListView. First off, get off the list view and use a multiple Select. Take a look at how the wicket pallet is done at: http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.PalettePage All you would have to do is change the left available multi select with your drop down. Now, I would recommend using jQuery UI's widgets since they are easier to use and more fun to work with (both for the developer and the application user): http://jqueryui.com/demos/ Have fun! On Thu, Feb 13, 2014 at 11:05 AM, ChambreNoire <a...@tentelemed.com> wrote: > Hello, > > I'd like to create a hybrid 'palette'. First there's a DropDownChoice with > an 'Add' link and next to this a vertical list of selected items, each with > a 'remove' link. Of course, adding an item removes it from the > DropDownChoice and adds it to the list and vice-versa for item 'removal'. > > I have already started but I fear that this is probably going to be fairly > complicated as it involves using ListViews in a form and DropDownChoice > customisation so any pointers to get me going would be most appreciated. > I'll post some code once I have something vaguely functional! > > Thanks, > > Chambre > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Hybrid-palette-with-DropDownChoice-and-ListView-tp4664445.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >