Did you try an absolute path to your css file (e.g. /resources or
/WEB-INF/...../resources).

Danny

On 6/27/07, Francisco Passos <[EMAIL PROTECTED]> wrote:
I'm using a skin perfectly when the application is expanded.

However when I generate a war file the skin isn't used for rendering...
here's my trinidad-skins.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin";>
    <skin>
        <id>
            stp.desktop
        </id>
        <family>
            stp
        </family>
        <render-kit-id>
            org.apache.myfaces.trinidad.desktop
        </render-kit-id>
        <style-sheet-name>
            resources/css/skin-stp.css
        </style-sheet-name>
        <extends>simple.desktop</extends>
    </skin>
</skins>

When expanded, the skin-stp.css file is located in
WEB-INF/../resources/css/skin-stp.

Inside the war file, I've tried both in the same place and moving the
resources dir into WEB-INF. None seems to work.

Surely I'm missing something...



--
Chordiant Software Inc.
www.chordiant.com

Reply via email to