This looks fine except trinidad-skins.xml you called trinidad-skin.xml.

What is the problem? Are you not getting the beach skin at all?
Are there any errors?
Have you tried turning off the styleclass compression so you can see the full styleclass names in the rendered html?
Have you tried using Firebug?

alee amin wrote:
I am trying to apply the skinning in my project but yet i am unable to configure it .. here is what i have done .. please help me out what possible mistake i have done

this is *beach.css* which is skins\beach
/*    -- CSS CHANGE    --    */
af|panelBox::medium af|panelBox::body {
  background-color: pink;
  padding: 6px;
}

af|panelBox::medium af|panelBox::header {
  background-color: Aqua;
  font-weight: bold;
}

af|panelBox::medium af|panelBox::content {
  background-color: #E7E4EA;
  border-color: purple;
  border-style: dashed;
  border-width:1px;
  padding-right: 6px;
  padding-left: 6px;
}

/*    -- CSS CHANGE    --    */

---------
*tinidad-skin.xml
    <skin>
        <id>
            beach.desktop
        </id>
        <family>
            beach
        </family>
        <render-kit-id>
            org.apache.myfaces.trinidad.desktop
        </render-kit-id>
        <style-sheet-name>
            skins/beach/beach.css
        </style-sheet-name>
    </skin>
------
*trinidad-config.xml*

<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
  <debug-output>true</debug-output>


  <accessibility-mode>inaccessible</accessibility-mode>
  <skin-family>beach</skin-family>
</trinidad-config>

-----------------------------------------------------
and then i have added <tr:document> in the page which was ecnlosed with int <f:view> .. now tell me what possible wrong thing i have done .. :( ?

-alee
--
Muhammad Ali
http://techboard.wordpress.com
Software Engineer - E2ESP
muhammadaliamin(at)gmail(dot)com

Reply via email to