- create new->html->html css file eg: mycss.css
- create trinidad-skin.xml in WEB-INF folder from option new->xml->xml document give name as trinidad-skin.
- trinidad-skin file defines the skin and that references the CSS file must be within the META-INF directory
- <?xml version="1.0" encoding="windows-1252" ?>
- <skins xmlns="http://myfaces.apache.org/trinidad/skin">
- <skin>
- <id>myskin.desktop</id>
- <family>myskin</family>
- <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
- <extends>blafplus-rich.desktop</extends>
- <style-sheet-name>css/mycss.css </style-sheet-name>
- </skin>
- </skins>
use this code to define skins in
trinidad-skin.xml file- open trinidad-config.xml file present in WEB-INF folder
- <?xml version="1.0" encoding="windows-1252"?>
- <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
- <skin-family>myskin</skin-family>
- </trinidad-config>
use this code to define skins reference of skins family in trinidad-config.xml file
these are setting for using css file in jdeveloper 11g for applying css to ADF component
No comments:
Post a Comment