Make sure your model reflects the selected state.  Palette will pick
that up automatically

On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello <[email protected]> wrote:
>
>
> I use the palette component, to assigne option to a User. but I don't
> find a functionnality, how to set already selected option ?.
>
> Exemple : a user selected option, I store it into a database:
> In the future, the user want to update his option, at the moment he
> doesn't see his previous selected option.
>
>  Do you have a solution.¿?, doe sir make sense¿?
>
> cheers!!
>
> quote author="MartinM">
> Well.. you can override newChoicesComponent
>
> **
> Martin
>
> 2009/4/28 新希望软件 -- 俞宏伟 <[email protected]>:
>> yes, i can setMarkupId for Palette. but now i want to filter for palette's
>> choicesComponent.
>>
>> there is no public getChoicesComponent() method for choicesComponent.
>>
>>
>>
>> 2009/4/28 Martin Makundi <[email protected]>
>>
>>> Why cannot get markupid? You can determine it yourself (setMarkupId)
>>>
>>> You could also update via ajax using a textfield which sends the
>>> filtered text to server and server updates the select via ajax...
>>>
>>> I wonder if someone has made a select in which the filter is visually
>>> built into the select component?
>>>
>>> **
>>> Martin
>>>
>>> 2009/4/28 新希望软件 -- 俞宏伟 <[email protected]>:
>>> > I want to add a filter for palette choice list, because  choice list
>>>  have a
>>> > very large HTML SELECT list.
>>> >
>>> > I found that there is a select filter implement(
>>> > http://www.barelyfitz.com/projects/filterlist/index.php/1), but i can
>>> not
>>> > get select component markupid, so filter can not init.
>>> >
>>> > --
>>> >
>>> > H. L. Mencken <
>>> http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html>
>>> > - "It is even harder for the average ape to believe that he has
>>> > descended
>>> > from man."
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
> --
> View this message in context: 
> http://old.nabble.com/how-to-add-filter-for-Palette-choice-tp23269578p27288282.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to