Untitled Document
Table
of contents | Next | Previous
Deploying the customized theme and skin
The earlier sections discussed how to create the customized theme and skin.
Now we discuss how to deploy the customizations to the production environment.
Deploying themes and skins in a production environment
Theme and skin JSPs are managed as part of the main WebSphere Portal
enterprise application and are thus part of the WebSphere Portal EAR file. The
WebSphere Portal EAR file must be updated and redeployed when adding new themes
and skins. Failure to do this could cause the custom themes and skins to be
deleted when the EAR file is subsequently updated. To update and redeploy the
EAR file with the new themes and skins, follow the instructions in the
WebSphere Portal Information Center . (See the URL below.)
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wps
/dgn_dpycst.html
Install the theme and skin into Quickr
As already described in this section, to install the theme deployed to
Quickr, the Administrative portlet “Themes and Skins” is used.
An alternative way is provided by XMLAccess. The sample file is shown in
Listing 20.
Listing 20. DeployTheme.xml
<?xml version="1.0" encoding="UTF-8"?>
<request
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd"
type="update" create-oids="true">
<portal action="locate">
<!-- Sample for deploying themes and skins in an XML script. Note that this
only created the database entries; you still need to provide the rendering JSPs
under the resource root directories specified in the XML. -->
<skin action="update" active="true" objectid="
custom Skin "
uniquename="ibm.portal.skin. custom Skin" resourceroot="
custom Skin ">
<localedata locale="en">
<title> custom Skin</title>
<description>A custom Skin!</description>
</localedata>
</skin>
<theme action="update" active="true"
defaultskinref=" custom Skin "
uniquename="ibm.portal.theme. customTheme " resourceroot="
customTheme ">
<localedata locale="en">
<title>A customTheme </title>
</localedata>
<!-- There's only one skin that may be combined with
this theme. -->
<allowed-skin skin="
custom Skin
" update="set"/> </theme>
</portal>
</request>
Further information is in the WebSphere Portal Information Center . (See the
URL below)
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wps
/admxmsmp.html
Additionally, see support information about PK63234 for Lotus Quickr 8.1
services for Portal. (See the URL below)
http://www.ibm.com/support/docview.wss?uid=swg21307594
Summary
This section summarizes common customizations to the Lotus Quickr theme for
WebSphere Portal. It describes how to create a new theme and skin and how to
apply it to a place. It also talks about the theme components and the role that
each component plays in the theme. Finally, the chapter went over individual
theme sections and provided examples of common customizations to modify the
theme.
Abstract - This article describes
how to deploy the J2EE customized theme and skin to the production environment.