DeployPortlet.xml 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2010. 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"
  26. create-oids="true">
  27. <portal action="locate">
  28. <!-- Sample JSR 286 portlet -->
  29. <!-- The uid must match uid attribute of portlet-app in portlet.xml. -->
  30. <web-app action="update" active="true" uid="com.ibm.wps.cp.portlet.tagcloud.webmod">
  31. <url>file:///$server_root$/base/wp.cp.portlet.tagcloud/installableApps/wp.portlet.tagcloud.war</url>
  32. <!--url>file://localhost/$user_install_root$/PortalServer/deployed/archive/com.ibm.wps.cp.portlet.tagcloud.webmod/wp.portlet.tagcloud.war</url-->
  33. <!-- The uid must match uid attribute of concrete-portlet-app in portlet.xml. -->
  34. <portlet-app action="update" active="true" uid="com.ibm.wps.cp.portlet.tagcloud">
  35. <!-- The name attribute must match content of portlet-name subtag of concrete-portlet in portlet.xml. -->
  36. <portlet action="update" active="true" name="Tag Cloud" objectid="theExamplePortlet" />
  37. <portlet action="update" active="true" name="Tag Results" objectid="Z3_CGAH47L00OO150I2UJUL0S1OK0" />
  38. </portlet-app>
  39. </web-app>
  40. <!-- Parent element under which the new page is inserted -->
  41. <content-node action="locate" objectid="parentPage" uniquename="ibm.portal.Home"/>
  42. <content-node action="update" active="true" allportletsallowed="true" content-parentref="parentPage" create-type="explicit" domain="rel" ordinal="1500" type="staticpage" uniquename="ibm.portal.ssa.SamplePage">
  43. <localedata locale="en"><title>Sample Page</title></localedata>
  44. <!-- The content of static page in binary format
  45. attribute markup can be set to one of portal server supported markups
  46. attribute display-option can be set to "inline" or "iframe" or "ajax".-->
  47. <pagecontents markup="html" display-option="inline">
  48. <content>UEsDBBQACAAIALKbTDcAAAAAAAAAAAAAAAALAAAAaW5kZXgxLmh0bWxtUE1rwzAMvQf6H0TuTeh1
  49. ZL7stFsghZ5VW2sEjmxir1n//YTdbDAGOoj3IelpmAmdOTRD5uzJTLhETzBlzGxhxBsNfWVU0u/a
  50. a3APc9AmmvPMCbQQUvVE9QB9lTkdFLpAMyYIQhDDquPyu6heLMGFvA0LwVjxDurcHX7Khz6WhY7v
  51. YD2m9No+maMNkpGF1hYEF/oh3nb81Jr/nRuLC9sf26WAp1bzPPwvfHT0wcKZg7xsMXWx2y88B81w
  52. neJMa02BvizsdWO5uTZNiTV6wkRw58QZPvVtNz2xhFNdfWvzDVBLBwjDeEQR4AAAAJMBAABQSwEC
  53. FAAUAAgACACym0w3w3hEEeAAAACTAQAACwAAAAAAAAAAAAAAAAAAAAAAaW5kZXgxLmh0bWxQSwUG
  54. AAAAAAEAAQA5AAAAGQEAAAAA</content>
  55. </pagecontents>
  56. <parameter name="com.ibm.portal.bookmarkable" type="string" update="set"><![CDATA[Yes]]></parameter>
  57. <parameter name="com.ibm.portal.friendly.name" type="string" update="set"><![CDATA[staticpage3]]></parameter>
  58. <parameter name="resourceaggregation.profile" type="string" update="set"><![CDATA[profiles/profile_dojo_lightweight.json]]></parameter>
  59. <!-- this parameter must match the name of static page -->
  60. <parameter name="com.ibm.portal.static.page.file.name.html" type="string" update="set"><![CDATA[index1.html]]></parameter>
  61. <access-control externalized="false" owner="uid=wpsadmin,o=defaultwimfilebasedrealm" private="false"/>
  62. <component action="update" active="true" domain="rel" ordinal="100" orientation="V" type="container">
  63. <component action="update" active="true" domain="rel" ordinal="100" orientation="V" type="container"/>
  64. <component action="update" active="true" domain="rel" ordinal="100" orientation="H" type="container">
  65. <!-- this parameter must match the portlet-container name in the static page -->
  66. <parameter name="com.ibm.portal.layoutnode.localname" type="string" update="set"><![CDATA[portletContainer1]]></parameter>
  67. <component action="update" active="true" domain="rel" ordinal="100" type="control">
  68. <!-- this parameter must match the portlet-window name in the static page -->
  69. <parameter name="com.ibm.portal.layoutnode.localname" type="string" update="set"><![CDATA[portletWindow1]]></parameter>
  70. <portletinstance action="update" domain="rel" portletref="theExamplePortlet" />
  71. </component>
  72. </component>
  73. </component>
  74. </content-node>
  75. </portal>
  76. </request>