2 Replies Latest reply on Nov 16, 2012 1:32 PM by user404

    ADF Skin library path

      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 (http://docs.oracle.com/cd/E25054_01/web.1111/b31973/af_skin.htm#CHDJEEGH - 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-Oracle

          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 : https://blogs.oracle.com/jdevotnharvest/entry/how-to_share_skin_definition_files_across_applications

          • 2. Re: ADF Skin library path
            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).