An Oracle White Paper July Oracle WebCenter Portal: Copying a Runtime-Created Skin to a Portlet Producer

Similar documents
Installation Instructions: Oracle XML DB XFILES Demonstration. An Oracle White Paper: November 2011

An Oracle White Paper November Primavera Unifier Integration Overview: A Web Services Integration Approach

Creating Custom Project Administrator Role to Review Project Performance and Analyze KPI Categories

Configuring Oracle Business Intelligence Enterprise Edition to Support Teradata Database Query Banding

WebCenter Portal Task Flow Customization in 12c O R A C L E W H I T E P A P E R J U N E

An Oracle White Paper December, 3 rd Oracle Metadata Management v New Features Overview

Generate Invoice and Revenue for Labor Transactions Based on Rates Defined for Project and Task

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 2, Memory Barriers and Memory Fences

Using the Oracle Business Intelligence Publisher Memory Guard Features. August 2013

Oracle DIVArchive Storage Plan Manager

Oracle Fusion Configurator

Correction Documents for Poland

Tutorial on How to Publish an OCI Image Listing

Automatic Receipts Reversal Processing

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

Oracle Cloud Applications. Oracle Transactional Business Intelligence BI Catalog Folder Management. Release 11+

Loading User Update Requests Using HCM Data Loader

Working with Time Zones in Oracle Business Intelligence Publisher ORACLE WHITE PAPER JULY 2014

Oracle CIoud Infrastructure Load Balancing Connectivity with Ravello O R A C L E W H I T E P A P E R M A R C H

Oracle Data Provider for.net Microsoft.NET Core and Entity Framework Core O R A C L E S T A T E M E N T O F D I R E C T I O N F E B R U A R Y

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

April Understanding Federated Single Sign-On (SSO) Process

JD Edwards EnterpriseOne Licensing

Oracle Secure Backup. Getting Started. with Cloud Storage Devices O R A C L E W H I T E P A P E R F E B R U A R Y

ORACLEAS PORTAL 10g (10.1.4) INTEGRATE YOUR ENTERPRISE CONTENT MANAGEMENT SYSTEMS INTO ORACLE PORTAL

StorageTek ACSLS Manager Software Overview and Frequently Asked Questions

Load Project Organizations Using HCM Data Loader O R A C L E P P M C L O U D S E R V I C E S S O L U T I O N O V E R V I E W A U G U S T 2018

An Oracle White Paper October The New Oracle Enterprise Manager Database Control 11g Release 2 Now Managing Oracle Clusterware

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

Oracle Enterprise Data Quality New Features Overview

Sun Fire X4170 M2 Server Frequently Asked Questions

Oracle Learn Cloud. Taleo Release 16B.1. Release Content Document

Hard Partitioning with Oracle VM Server for SPARC O R A C L E W H I T E P A P E R J U L Y

Oracle Service Registry - Oracle Enterprise Gateway Integration Guide

Technical White Paper August Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication

Oracle Financial Services Regulatory Reporting for US Federal Reserve Lombard Risk Integration Pack

An Oracle Technical Article March Certification with Oracle Linux 4

Oracle Utilities CC&B V2.3.1 and MDM V2.0.1 Integrations. Utility Reference Model Synchronize Master Data

Integrating Oracle SuperCluster Engineered Systems with a Data Center s 1 GbE and 10 GbE Networks Using Oracle Switch ES1-24

An Oracle White Paper September Security and the Oracle Database Cloud Service

Oracle WebLogic Portal O R A C L E S T A T EM EN T O F D I R E C T IO N F E B R U A R Y 2016

Oracle Forms Services Oracle Traffic Director Configuration

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 1, Compiler Barriers

An Oracle White Paper September, Oracle Real User Experience Insight Server Requirements

VISUAL APPLICATION CREATION AND PUBLISHING FOR ANYONE

An Oracle White Paper October Deploying and Developing Oracle Application Express with Oracle Database 12c

An Oracle White Paper June StorageTek In-Drive Reclaim Accelerator for the StorageTek T10000B Tape Drive and StorageTek Virtual Storage Manager

October Oracle Application Express Statement of Direction

Siebel CRM Applications on Oracle Ravello Cloud Service ORACLE WHITE PAPER AUGUST 2017

An Oracle White Paper February Combining Siebel IP 2016 and native OPA 12.x Interviews

Oracle WebCenter Portal 11g Developer Workshop

Oracle WebCenter Portal 11g Developer Workshop

Deploying Custom Operating System Images on Oracle Cloud Infrastructure O R A C L E W H I T E P A P E R M A Y

SonicMQ - Oracle Enterprise Gateway Integration Guide

Oracle Fusion Middleware

An Oracle Technical Article August Certification with Oracle Linux 7

An Oracle Technical Article November Certification with Oracle Linux 7

Oracle Service Cloud Agent Browser UI. November What s New

Oracle Flash Storage System QoS Plus Operation and Best Practices ORACLE WHITE PAPER OCTOBER 2016

Oracle Data Masking and Subsetting

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Transfer Payments User Manual. Part No. E

Technical White Paper August Migrating to Oracle 11g Using Data Replicator Software with Transportable Tablespaces

Oracle Financial Consolidation and Close Cloud. What s New in the November Update (16.11)

E-BUSINESS SUITE APPLICATIONS R12 (R12.2.5) ORDER MANAGEMENT (OLTP) BENCHMARK - USING ORACLE11g

Oracle Enterprise Performance Reporting Cloud. What s New in September 2016 Release (16.09)

Achieving High Availability with Oracle Cloud Infrastructure Ravello Service O R A C L E W H I T E P A P E R J U N E

Application Container Cloud

An Oracle White Paper October Release Notes - V Oracle Utilities Application Framework

See What's Coming in Oracle Taleo Business Edition Cloud Service

Oracle Fusion Middleware 11g Oracle Access Manager Frequently Asked Questions June 2009

Subledger Accounting Reporting Journals Reports

E-BUSINESS SUITE APPLICATIONS R12 (R12.2.5) HR (OLTP) BENCHMARK - USING ORACLE11g ON ORACLE S CLOUD INFRASTRUCTURE

Oracle Utilities Customer Care and Billing Release Utility Reference Model a Load Meter Reads

Oracle FLEXCUBE Direct Banking Release Corporate Cash Management User Manual. Part No. E

Oracle NoSQL Database For Time Series Data O R A C L E W H I T E P A P E R D E C E M B E R

Repairing the Broken State of Data Protection

Oracle JD Edwards EnterpriseOne Object Usage Tracking Performance Characterization Using JD Edwards EnterpriseOne Object Usage Tracking

RAC Database on Oracle Ravello Cloud Service O R A C L E W H I T E P A P E R A U G U S T 2017

Product Release Notes

Oracle WebCenter Portal 11g Developer Workshop

Pricing Cloud: Upgrading to R13 - Manual Price Adjustments from the R11/R12 Price Override Solution O R A C L E W H I T E P A P E R A P R I L

Benefits of an Exclusive Multimaster Deployment of Oracle Directory Server Enterprise Edition

TABLE OF CONTENTS DOCUMENT HISTORY 3

August 6, Oracle APEX Statement of Direction

Oracle Clusterware 18c Technical Overview O R A C L E W H I T E P A P E R F E B R U A R Y

Migrating VMs from VMware vsphere to Oracle Private Cloud Appliance O R A C L E W H I T E P A P E R O C T O B E R

An Oracle White Paper March How to Define an Importer Returning Error Messages to the Oracle Web Applications Desktop Integrator Document

Data Capture Recommended Operating Environments

An Oracle White Paper Oct Hard Partitioning With Oracle Solaris Zones

An Oracle White Paper December Oracle Exadata Database Machine Warehouse Architectural Comparisons

Oracle Learn Cloud. What s New in Release 15B.1

Oracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R A P R I L,

Oracle Social Network

Transitioning from Oracle Directory Server Enterprise Edition to Oracle Unified Directory

PeopleSoft Fluid Navigation Standards

Oracle Virtual Directory 11g Oracle Enterprise Gateway Integration Guide

Overview. Implementing Fibre Channel SAN Boot with the Oracle ZFS Storage Appliance. January 2014 By Tom Hanvey; update by Peter Brouwer Version: 2.

An Oracle Technical White Paper September Detecting and Resolving Oracle Solaris LUN Alignment Problems

Oracle Best Practices for Managing Fusion Application: Discovery of Fusion Instance in Enterprise Manager Cloud Control 12c

An Oracle White Paper October Minimizing Planned Downtime of SAP Systems with the Virtualization Technologies in Oracle Solaris 10

Transcription:

An Oracle White Paper July 2011 Oracle WebCenter Portal: Copying a Runtime-Created Skin to a Portlet Producer

Introduction This white paper describes a method for copying runtime-created skins from a WebCenter Portal application (the consumer) to a Portlet Producer application (the producer), using Oracle WebCenter 11g PS3 or later. Copying a runtime-created skin is necessary because the consumer and producer applications must have the same set of available skins for the portlets to render correctly. Figure 1. Portlet rendering with runtime-created skins 1

Overview of Steps In Oracle WebCenter 11g PS3 or later, authorized users are permitted to create skins at runtime, using the Resource Manager. When this is done, users may encounter rendering issues on pages that include portlets, where those portlets are actually task flows exposed using the Oracle JSF Portlet Bridge. This happens when the skin used by the WebCenter Portal application is not available to the remote application rendering the task flow. The overall process is as follows: 1. Export the skin from the WebCenter Portal application (an EAR file) 2. Repackage the exported skin as a shared library (a JAR file) 3. Copy the JAR file to the Portlet Producer application These steps are described in the following sections. 2

Step 1: Export the Skin from the WebCenter Portal Application The first thing to do is export the skin to an EAR file. 1. Locate and select the skin in the Resource Manager. Figure 2. A runtime-created skin in the Resource Manager 2. From the toolbar, click Download. Figure 3. The Download icon 3

3. In the Download dialog, in the Archive File Name field, enter myskin.ear, or some other appropriate file name. 4. Select Save to my computer. 5. Click Download. Figure 4. The Download dialog 6. If prompted by your browser, save the EAR file to your computer. 4

Step 2: Repackage the Exported Skin as a Shared Library After exporting the skin, you must repackage the resulting EAR file as a JAR file for use by the Portlet Producer application. This requires command line access to a Java JDK so that you can run the jar command. 1. Extract the transport.mar file: $ jar xvf myskin.ear inflated: transport.mar 2. Extract the metadata files: $ jar xvf transport.mar inflated: oracle/webcenter/siteresources/.../skin.css inflated: oracle/webcenter/siteresources/.../generic-siteresources.xml... 3. Locate and view the file generic-site-resources.xml among the metadata files. Normally this file will be in a directory like oracle/webcenter/siteresources/scopedmd/scopeguid/genericsite-resources.xml. The file should have a section that describes the exported skin, similar to the following example: <resourcetype name="skin"...> <resource displayname="myskin" metadatafile="/oracle/webcenter/siteresources/.../skin.css"...> <customattributes> <customattribute name="skinid" value="gsr616d879d_99e0_4bd9_8c10_98e7ea272a6a.desktop".../> <customattribute name="skinfamily" value="gsr616d879d_99e0_4bd9_8c10_98e7ea272a6a"...> <customattribute name="skinextends" Value="webcenter-fusion-internal.desktop".../> </customattributes> </resource> </resourcetype> 4. Note the following information from generic-site-resources.xml: skinid (for example, gsr616d879d_99e0_4bd9_8c10_98e7ea272a6a.desktop) skinfamily (for example, gsr616d879d_99e0_4bd9_8c10_98e7ea272a6a) skinextends (for example, webcenter-fusion-internal.desktop) 5. Build the directory structure for the JAR file: $ mkdir META-INF 6. Copy the Skin.css file into the META-INF directory: $ cp oracle/webcenter/siteresources/.../skin.css META-INF 5

7. Create a new trinidad-skins.xml file under META-INF: $ edit META-INF/trinidad-skins.xml 8. Add the following XML to the new trinidad-skins.xml file: <?xml version="1.0" encoding="iso-8859-1"?> <skins xmlns="http://myfaces.apache.org/trinidad/skin"> <skin> <style-sheet-name>skin.css</style-sheet-name> <id>skinid</id> <family>skinfamily</family> <extends>skinextends</extends> <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id> </skin> </skins> where skinid, skinfamily, and skinextends are the values from step 4 above. 9. Package the JAR file. The JAR file should contain two files: the Skin.css file and the trinidadskins.xml file. $ jar cvf myskin.jar META-INF adding: META-INF/trinidad-skins.xml(in = 359) (out= 171)(deflated 52%) adding: META-INF/Skin.css(in = 5560) (out= 1413)(deflated 74%) Step 3: Copy the JAR File to the Portlet Producer Application Finally, copy the new myskin.jar file to the Portlet Producer application. The easiest way to do this is to copy the file to the WEB-INF/lib directory of the Portlet Producer web application. Conclusion Portletized task flows may render incorrectly when they are consumed on a WebCenter Portal application page that uses a runtime-created skin. To ensure that portlets render correctly the skin must be available to the Portlet Producer application. You can make the skin available to the Portlet Producer by copying it using the method described in this white paper. 6

White Paper Title [Month] 2011 Author: [OPTIONAL] Contributing Authors: [OPTIONAL] Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 Copyright 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark licensed through X/Open Company, Ltd. 0611 oracle.com