I think your selected strings should match those in available.. I cant remember if palette uses a choicerender.. Then you implement a custom one..
I'd recommend using models anyhow.. 2009/2/19 Vasily Vasilkov <chand0s....@gmail.com> > Hi > > I use the Palette component and I need to fill both palette's lists > when I create palette. > > For example, a have > > List<String> availableValues = new ArrayList<String>(); // add 5 > strings into this list > List<String> selectedValues = new ArrayList<String>(); // add 3 strings > > creating palette (this is pseudo-code): > Palette palette = new Palette(availableValues, selectedValues, ...) > > when palette shows on screen, there are only 5 values in "Available" > list, but "Selected" list is empty. > > I have read the javadoc, but found nothing. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >