Showing posts with label How to implement skininng in ADF. Show all posts
Showing posts with label How to implement skininng in ADF. Show all posts

Sunday, October 12, 2014

How to implement Skins in ADF ?


This blog explains about how to apply skinning for any ADF application
- Create trinidad-skins.xml file 




-   Configure your .css file in above created trinidad-skin.xml as shown below

<?xml version="1.0" encoding="UTF-8" ?> 
<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>fusion.desktop</extends>
  <style-sheet-name>/css/fmStyle.css</style-sheet-name>
 </skin>
</skins> 

- Below is sample .css file



-  Refer the  CSS file entries in your page or page fragment as shown below .



For More info, Please refer below links

https://blogs.oracle.com/jdevotnharvest/entry/how_to_learn_adf_skinning