wicket.extensions.markup.html.form.palette.Palette
[back to the reference]The Palette component.
Behind the Scenes
Example HTML
<form wicket:id="form">
<span wicket:id="palette">
</span>
</form>
Example Code
Form f=new Form("form");
add(f);
List persons = ComponentReferenceApplication.getPersons();;
IChoiceRenderer renderer = new ChoiceRenderer("fullName", "fullName");
final Palette palette = new Palette("palette", new ListModel<Person>(new ArrayList<Person>()), new CollectionModel<Person>(
persons), renderer, 10, true);