selected has to be a subset of available, so also add your selected
strings to available.

-igor

On Thu, Feb 19, 2009 at 6:09 AM, Vasily Vasilkov <chand0s....@gmail.com> wrote:
> 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
>
>

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

Reply via email to