incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard" <simon.lessar...@gmail.com>
Subject Re: Skinning the Details Stamp and the Disclosed Symbol
Date Thu, 23 Nov 2006 17:46:32 GMT
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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message