You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Makundi <ma...@koodaripalvelut.com> on 2008/08/09 13:22:20 UTC

Re: color code options in drop down choice

Using Select/SelectOption/SelectOptions I loose all the other
encapsulated benfits of DropDownChoice or ListChoice.

Wouldn't it be a good idea to have IChoiceRenderer or a similar
interface with a method getDispayStyle for each option?

**
Martin

2008/4/29 Igor Vaynberg <ig...@gmail.com>:
> see Select/SelectOption/SelectOptions in wicket-extensions
>
> -igor
>
>
> On Tue, Apr 29, 2008 at 9:43 AM, Full-toos Geek <fu...@gmail.com> wrote:
>> hi
>>  I want to have a dropdown choice in which some of the choices are of
>>  different color based on the model.
>>  is there any existing implementation which i can use.
>>  OR how should i go about it
>>  please suggset.
>>
>>  full toos
>>  ======
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: color code options in drop down choice

Posted by Al Maw <wi...@almaw.com>.
Note that you can style <option> tags in Firefox, but it probably
won't work in Internet Explorer, so it may not be worth even bothering
with this...

Alastair

2008/8/9 Martin Makundi <ma...@koodaripalvelut.com>:
> Using Select/SelectOption/SelectOptions I loose all the other
> encapsulated benfits of DropDownChoice or ListChoice.
>
> Wouldn't it be a good idea to have IChoiceRenderer or a similar
> interface with a method getDispayStyle for each option?
>
> **
> Martin
>
> 2008/4/29 Igor Vaynberg <ig...@gmail.com>:
>> see Select/SelectOption/SelectOptions in wicket-extensions
>>
>> -igor
>>
>>
>> On Tue, Apr 29, 2008 at 9:43 AM, Full-toos Geek <fu...@gmail.com> wrote:
>>> hi
>>>  I want to have a dropdown choice in which some of the choices are of
>>>  different color based on the model.
>>>  is there any existing implementation which i can use.
>>>  OR how should i go about it
>>>  please suggset.
>>>
>>>  full toos
>>>  ======
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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