This content has been marked as final. Show 2 replies
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
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).
<id>testSkin.desktop</id> <family>testFamily</family> <extends>fusionFx-simple-v1.2.desktop</extends> <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id> <style-sheet-name>/lib/ADFSkinLib.jar!/META-INF/skins/SkinTest/SkinTest.css</style-sheet-name> <version> <name>v1</name> <default>true</default> </version> </skin>