Skin Not Inherited on Custom ADF Taskflows Added By Extending WebCenter Portal Shared Libraries
(Doc ID 1668790.1)
Last updated on JULY 28, 2016
Applies to:Oracle WebCenter Portal - Version 18.104.22.168.3 to 22.214.171.124.3 [Release 11g]
Information in this document applies to any platform.
Custom ADF Task Flows added to WebCenter Portal by Extending the WebCenter Portal Shared Libraries do not inherit the skin set in the Task Flows.
The skin is inherited correctly when running the Task Flows in the standalone ADF application, however when the Task Flows are consumed in WebCenter Portal, the skin is not inherited.
Steps to Reproduce:
- Create a custom application in JDeveloper with Some Task Flows.
- Create a skin.
For example, include some custom css styleClasses in the skin so you can apply the same in the task flows.
text-decoration: underline; color: red;
- Apply the css styleClasses to a task flow.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
<af:panelGroupLayout id="pgl26" styleClass="blue-background"
<af:commandLink text="I should have red font and blue background"
- Run the application and confirm the skin is applied.
In this case the task flow should show the css styleClasses (e.g. red hyperlink and blue background in this case).
- Extend Webcenter Portal to add the Task Flows as shared libraries as indicated in the following document:
Oracle Fusion Middleware Developing Portals with Oracle WebCenter Portal and Oracle JDeveloper
11g Release 1 (126.96.36.199.3)
55 Developing Components for WebCenter Portal Using JDeveloper
55.2 Developing Task Flows, Data Controls, and Managed Beans for WebCenter Portal
- Consume the Task Flow in WebCenter Portal.
Here you should see the skin is not inherited in the Task Flow.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document