Wednesday 1 April 2015

Configuring a custom skin in ADF Application

when we create a ADF application in under Jdev 11.1.1,7 version, Jdeveloper could not create any default css file in our application. If we want to create any custom css file, It should be configured some where in ADF application, otherwise css changes doesn't reflect any where.

When you are creating webcenter application css file configuration comes through default.

For configuring our custom css file in to application,These are the following steps.

1.Create trinidad-skins.xml  file in WEB-INF folder of ViewController project.




2.Create Css folder and put our css file into that.


3.We need to give this css file location path into the trinidad-skin file


4.In trinidad skin file add skin family name,because it should refer in to the trinidad-config.xml.

5.Add skin family name in trinidad-config.xml file like below


Once run the application you will get changes of respective css changes.

 For reference download below link.

1 comment:

  1. Thank you
    How can we use a image in ADF jar Skin that added to our project ?
    how address it?
    :)

    ReplyDelete