myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Horne <steveho...@gmail.com>
Subject Re: [Trinidad] Using skinning
Date Tue, 24 Feb 2009 22:38:07 GMT
I'm guessing that you are using JSP and are NOT using the <tr:document>
tag...

<tr:document> will include the proper meta tags in the head that will get
the correct skin.

HTH


“Many men go fishing all of their lives without knowing it is not fish they
are after.”
- Henry David Thoreau


On Tue, Feb 24, 2009 at 3:55 PM, Lars Vogel <lars.vogel@googlemail.com>wrote:

> Hi,
>
> my little example application does not pickup the skinning.  I followed:
> http://myfaces.apache.org/trinidad/devguide/skinning.html
>
> I have two file in WEB-INF: trinidad-skins.xml and  trinidad-config.xml. I
> believe for skinning no change in web.xml and faces-config.xml is necessary
>
> trinidad-skins.xml
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <skins xmlns="http://myfaces.apache.org/trinidad/skin">
>     <skin>
>         <id>aqua.desktop</id>
>         <family>aqua</family>
>         <render-kit-id>
>             org.apache.myfaces.trinidad.desktop
>         </render-kit-id>
>         <style-sheet-name>skins/aqua/aqua.css
>         </style-sheet-name>
>     </skin>
> </skins>
>
>  trinidad-config.xml
>
> <?xml version="1.0"?>
> <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
>     <!-- Enable debug output -->
>     <debug-output>true</debug-output>
>     <accessibility-mode>default</accessibility-mode>
>     <skin-family>aqua</skin-family>
> </trinidad-config>
>
> aqua.css in directory WebContent /skins/aqua/
>
> body {
>     background-color: black;
>     font-size: 60px;
> }
>
>
> From Matts answer earlier I see that skin:minimal.desktop is used as a skin
> for the JSP.
>
> Any obvious mistake I'm making?
>
> Best regards, Lars
>
>
>
>
>

Mime
View raw message