incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Robinson <mark.robin...@mizar.com>
Subject Re: Skinning the Details Stamp and the Disclosed Symbol
Date Thu, 23 Nov 2006 20:30:55 GMT
Hi Simon,

Do you mean inherit from Skin and change things in there or change my 
css/xss file?  I've tried using the css/xss method and it didn't seem to 
work.

Mark

Simon Lessard wrote:
> Hello mark,
>
> Why don't you make your own skin and override those selectors? It's hard
> coded only for the "simple" skin.
>
>
> ~ Simon
>
> On 11/22/06, Mark Robinson <mark.robinson@mizar.com> wrote:
>>
>> Hi,
>>
>> I'm trying to change the symbol used on the disclosure icons(it's a
>> unicode arrow right now).  It's hard coded into the BaseDesktopSkin.java
>> file and is set when Trinidad starts up.
>>
>> So what I'm asking is what is the best way to change that.  So far I can
>> change it programmatically in a bean with:
>>
>>         Skin mySkin=
>> SkinFactory.getFactory().getSkin(FacesContext.getCurrentInstance(),
>> "mizar.desktop");
>>         mySkin.registerIcon("AFDetailUndisclosedIcon", new 
>> TextIcon("+"));
>>
>> Now, that's not really the most elegant way to change it, but it does
>> work.  So is there a better way?
>>
>> Mark
>>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.14.14/548 - Release Date: 23/11/2006 3:22 PM
>   


Mime
View raw message