ModifyPortlet.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2006. 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. <!-- this is an exported portlet, which will be modified now.-->
  23. <request type="update" create-oids="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd">
  24. <!-- Sample to update an existing portlet.
  25. NOTE: This sample expects that the DeployPortlet.xml sample was executed before.
  26. -->
  27. <portal action="locate">
  28. <!-- Sample IBM portlet API 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.portlets.welcome">
  31. <url>file:///$server_root$/ap/wp.ap.welcome/installableApps/WelcomePortlet.war</url>
  32. <!-- The uid must match uid attribute of concrete-portlet-app in portlet.xml. -->
  33. <portlet-app action="update" active="true" uid="com.ibm.wps.portlets.welcome.1">
  34. <!-- The name attribute must match content of portlet-name subtag of concrete-portlet in portlet.xml. -->
  35. <portlet action="update" active="true" objectid="theIbmPortletApiPortlet" name="Welcome Portlet">
  36. <!-- Update the english title -->
  37. <localedata locale="en">
  38. <title>Welcome to WebSphere Portal</title>
  39. <description>Displays Version and Copyright Statement</description>
  40. </localedata>
  41. <!-- Add a parameter -->
  42. <parameter name="url" type="string" update="set">/WEB-INF/jsp/wps.jsp</parameter>
  43. <!-- update the access control information -->
  44. <access-control externalized="false" owner="undefined" private="false"/>
  45. </portlet>
  46. </portlet-app>
  47. </web-app>
  48. </portal>
  49. </request>