Palette palette = new Palette("palette", new Model(new ArrayList()), new Model(
                (Serializable)persons), renderer, 10, true){
public ResourceReference getCSS(){
      return .....;
}
};


you can use firefox to get the original css.
copy all css to a new file
change width in css
and return that file inside getCSS above.


fmu


2010/1/5 wic...@geofflancaster.com <wic...@geofflancaster.com>:
> Any suggestions on how to do that?
>
> Original Message:
> -----------------
> From: Fatih Mehmet Ucar fmu...@gmail.com
> Date: Tue, 5 Jan 2010 16:31:33 +0000
> To: users@wicket.apache.org
> Subject: Re: Palette selector width and sort
>
>
> for width, you can override css returning method in palette.
>
> 2010/1/5 wic...@geofflancaster.com <wic...@geofflancaster.com>:
>> How can I change the width of the "available" and "selected" menus on a
>> palette?
>>
>> Also, is it possible to sort the choices after they are moved between the
>> two menus so they aren't just appended to the end but sorted
> alphabetically?
>>
>> ie. moving an item from "available" to "selected" will sort items now in
>> "selected" and vice versa
>>
>>
>> --------------------------------------------------------------------
>> mail2web.com – What can On Demand Business Solutions do for you?
>> http://link.mail2web.com/Business/SharePoint
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on Microsoft®
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
>
> ---------------------------------------------------------------------
> 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