Hi,

I try to create a small example for skinning with JSF 1.2 Trinidad. I
follow: http://myfaces.apache.org/trinidad/devguide/skinning.html and tried
a few other resources.

Details on my configuration below in case someone is interested. My question
is: How can I see which skin should be selected and how can I see which skin
is selected?

I looked at the logfile during the Tomcat startup and cannot find a
reference which skin should get selected. I believe this would help me in
setting up the example because in this case I could narrow down my error.

Best regards, Lars


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>

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>

My directory under WebContent
skins/aqua/aqua.css

body {
    background-color: aqua;
}

.AFDefaultFontFamily:alias {
    font-family: cursive;
}

Reply via email to