IntegrateRemotePortlet.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2007. 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. <!-- Sample for integrating a remote portlet via WSRP.
  27. Replace REMOTE_HANDLE with the handle that
  28. identifies the remote portlet on the producer.
  29. NOTE: This sample file needs to be updated with values for an existing producer
  30. and an existing remote portlet.
  31. -->
  32. <portal action="locate">
  33. <wsrp-producer action="locate" objectid="Producer_OID" uniquename="ibm.portal.SampleProducer"/>
  34. <web-app action="locate" uid="com.ibm.wps.wsrp.proxyportletapp.webmod">
  35. <servlet action="update" objectid="Servlet_OID" remotehandle="REMOTE_HANDLE" wsrp-producerref="Producer_OID"/>
  36. <portlet-app action="locate" uid="com.ibm.wps.wsrp.proxyportletapp">
  37. <portlet action="update" active="true" defaultlocale="en"
  38. servletref="Servlet_OID" name="A_WSRP_Remote_Portlet_Name">
  39. <localedata locale="en">
  40. <title>A WSRP remote portlet title</title>
  41. </localedata>
  42. <access-control externalized="false" owner="undefined" private="false"/>
  43. </portlet>
  44. </portlet-app>
  45. </web-app>
  46. </portal>
  47. </request>