UpdatePortlet.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. <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. <!-- sample for updating a portlet from a new version of the WAR file -->
  28. <portal action="locate">
  29. <!-- 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. <!-- 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. <!-- name must match content of portlet-name subtag of concrete-portlet in portlet.xml -->
  35. <portlet action="update" active="true" objectid="thePortlet" name="Welcome Portlet">
  36. </portlet>
  37. </portlet-app>
  38. </web-app>
  39. </portal>
  40. </request>