DeployTheme.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2008. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
  25. type="update" create-oids="true">
  26. <portal action="locate">
  27. <!-- Sample for deploying themes and skins in an XML script. Note that this only created the database entries;
  28. you still need to provide the rendering JSPs under the resource root directories specified in the XML. -->
  29. <skin action="update" active="true" objectid="hedgehogSkin" uniquename="ibm.portal.skin.Hedgehog" resourceroot="Hedgehog">
  30. <localedata locale="en">
  31. <title>Hedgehog</title>
  32. <description>A skin with lots of spikes!</description>
  33. </localedata>
  34. </skin>
  35. <theme action="update" active="true" defaultskinref="hedgehogSkin" uniquename="ibm.portal.theme.Forest" resourceroot="Forest">
  36. <localedata locale="en">
  37. <title>A natural theme</title>
  38. </localedata>
  39. <!-- There's only one skin that may be combined with this theme. -->
  40. <allowed-skin skin="hedgehogSkin" update="set"/>
  41. </theme>
  42. </portal>
  43. </request>