This discussion is archived
2 Replies Latest reply: Nov 16, 2012 5:32 AM by user404 RSS

ADF Skin library path

user404 Pro
Currently Being Moderated
I'm using Jdev and the standalone SkinEditor.
I made a skin and deployed it as an ADF lib.
Then I added the .jar to my ViewController project.
But now I need to configure trinidad-config.xml file.
I'm following the Oracle docs ( - 20.2.3) and it tells me this:

If still not retrieved, the URL is created using the <ClassLoader> getResource in a style-sheet-name format similar to META-INF/purpleSkin/styles/myPurpleSkin.css. Once the URL is converted to this format, it can be searched for in JAR files that may contain the style sheet.

But I don't really now what to do.
Can anyone give me an example or provide some helpfull documentation (on how to point to my .css in my jar)?

Thanks in advance!
  • 1. Re: ADF Skin library path
    Arunkumar Ramamoorthy Guru
    Currently Being Moderated

    Have you tried importing the skin jar file to your app, create a new skin by extending the one you've packaged in the jar file and use it in your app?

    Also check out this blog :

  • 2. Re: ADF Skin library path
    user404 Pro
    Currently Being Moderated
    Thanks for your reply.
    I can't extend a style class since in my JDev version, they took out the skineditor that's why I'm using the standalone one.
    The only problem I have is, how get the reference path to my .css which is located in my .jar?

    This is what I got :
    Note that my trinidad-skins.xml is located in WEB-INF and my libary in WEB-INF/lib (just for testing).


  • Correct Answers - 10 points
  • Helpful Answers - 5 points