Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Template library jar, multiple Template.jsf files, each set to a specific skin

Stuart FlemingMar 29 2017 — edited Mar 30 2017

Jdeveloper 12.1.2

Hello.  I have an ADF Template library (adf Library jar) with 4 templates, and it contains a skin called xyzSkin.css. The template library jar is used by multiple ADF applications.

The templates all currently use the xyzSkin.css.  We have a new business line, and need to incorporate a new skin into the Template application.

I want to create a new cisTemplate.jsf file and base it on the cisSkin.css (which will extend the  xyzSkin.css).

I can find multiple blogs on changing at runtime, but I can't find a way to simply code in each template file which css (skin) should be used for that file.

Is there a way to simply specify the template's css file within the template file?

Can it be done as an attribute?  How?

By the way, of all the ways to do it this looks the easiest, but it still involves some java, and I would rather stay away from coding at the template level.

https://community.oracle.com/thread/964945

Thank you,

Stuart

Other Resources:

https://community.oracle.com/thread/964945

http://rogersuen.blogspot.de/2014/12/adf-change-skin-at-runtime.html

http://www.rsantrod.com/2015/12/adf-switching-between-skins-on-runtime.html

https://formattc.wordpress.com/2010/02/26/adding-skin-and-settings-menus-to-your-jdeveloper-adf-application/

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2017
Added on Mar 29 2017
3 comments
357 views