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 Fri, 24 Nov 2006 00:05:03 GMT
I mean using trinidad-skins.xml to define a new skin. Set it as the used one
in trinidad-config.xml and define the icon you want to use in the .css file.

On 11/23/06, Mark Robinson <mark.robinson@mizar.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message