Sorry, you are right, I was thinking on Collection, not a String. :(
However, I found where was the problem: while creating Pallete component, I
put the same model as parameters, both for model and choices model.
My mistake, it is 11:30 PM at my place and I'm realy tired. :)

thanks for help,
vatroslav


igor.vaynberg wrote:
> 
> are you sure you get an empty string? i dont think that is possible, it
> should at least be an empty collection.
> 
> -igor
> 
> 
> On 8/25/07, Vatroslav <[EMAIL PROTECTED]> wrote:
>>
>>
>> I've tried that, and in that case items are displayed as I want.
>> But on submit event,  palette.getModelObject() returns empty string,
>> although all items are in the right listbox?!?
>>
>> vatroslav
>>
>>
>> that box is populated from the selection model, so make sure the
>> collection
>> in that model has the selected items
>>
>> -igor
>>
>>
>> On 8/25/07, Vatroslav <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Hi,
>> > Is it possible to populate both list boxes on Palette component?
>> > Or even only right one (Selected)?
>> > Usually I only want to change order, and in rare cases to remove some
>> > items.
>> > So populating only selected box would be preferable.
>> >
>> > Regards,
>> > Vatroslav
>> >
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Palette-component%2C-how-to-populate-right-box--tf4328675.html#a12329569
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Palette-component%2C-how-to-populate-right-box--tf4328675.html#a12329736
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to