DeployThemeFromWebModule.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 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.
  28. Note that this only created the database entries;
  29. you still need to provide the rendering JSPs by
  30. deploying the corresponding web module under the
  31. specified context root in the application server. -->
  32. <skin action="update" active="true" objectid="hedgehogSkin" uniquename="ibm.portal.skin.Hedgehog" resourceroot="Hedgehog" context-root="/hh">
  33. <localedata locale="en">
  34. <title>Hedgehog</title>
  35. <description>A skin with lots of spikes!</description>
  36. </localedata>
  37. </skin>
  38. <theme action="update" active="true" defaultskinref="hedgehogSkin" uniquename="ibm.portal.theme.Forest" resourceroot="Forest" context-root="/hh">
  39. <localedata locale="en">
  40. <title>A natural theme</title>
  41. </localedata>
  42. <!-- There's only one skin that may be combined with this theme. -->
  43. <allowed-skin skin="hedgehogSkin" update="set"/>
  44. </theme>
  45. </portal>
  46. </request>