Ok, I think I got it.
You should add to choice render an empty id and value expression, i.e. new ChoiceRenderer("", ""). Without any expression any choices is recognized as selected.
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.

...
..
add(form);

List<String>  available = new ArrayList<String>();
original.add("A");
original.add("B");
original.add("C");
original.add("D");
original.add("E");

Palette<String>  palette = new Palette<String>("palette", new
ListModel<String>(available.subList(1,2)),
                 new CollectionModel<String>(available), new
ChoiceRenderer(), 10, false);
form.add(palette);

selection list is sublist of available but this only displays

A on the selected list and nothing on available list.

Any help will be appreciated.

Thanks!--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-extensions-Palette-Problem-tp3489257p3489257.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





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to