DeployThemeFromWebModule.xml

+

Search Tips   |   Advanced Search

 

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

<request 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="PortalConfig_8.0.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 by
             deploying the corresponding web module under the
             specified context root in the application server. -->

        <skin action="update" active="true" objectid="hedgehogSkin" uniquename="ibm.portal.skin.Hedgehog" resourceroot="Hedgehog" context-root="/hh">
            <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" context-root="/hh">
            <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>