DeployTheme.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<!--
DeployTheme.xml
-->

<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:noNamespaceSchemaLocation="PortalConfig_6.1.0.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="hedgehogSkin" 
              uniquename="ibm.portal.skin.Hedgehog" 
              resourceroot="Hedgehog">

            <localedata locale="en">
                <title>Hedgehog</title>
                <description>A skin with lots of spikes!</description>
            </localedata>

        </skin>

        <theme action="update" 
               active="true" 
               defaultskinref="hedgehogSkin" 
               uniquename="ibm.portal.theme.Forest" 
               resourceroot="Forest">

            <localedata locale="en">
                <title>A natural theme</title>
            </localedata>

            <!-- There's only one skin that may be combined with this theme. -->
            <allowed-skin skin="hedgehogSkin" update="set"/>

        </theme>

    </portal>
</request>