Disabling cooperative sources and targets

To disable a cooperative target portlet, perform the following manual steps:

  1. [For the IBM® portlet API only] In web.xml, replace the Property Broker Wrapper portlet class with the original (default) class. For example, replace
    <servlet-class>com.ibm.wps.pb.wrapper.PortletWrapper</servlet-class>
    <init-param>
    		<param-name>c2a-application-portlet-class</param-name>
    		<param-value>com.ibm.faces.webapp.WPFacesGenericPortlet</param-value>
    </init-param>
    with the following:
    <servlet-class>com.ibm.faces.webapp.WPFacesGenericPortlet</servlet-class>
    Note: If there is no other reference to PortletWrapper in web.xml, you can also delete /WEB-INF/lib/pbportlet.jar.
  2. Remove the Property Broker parameter from portlet.xml. For example:
    <config-param>
    		<param-name>c2a-action-descriptor</param-name>
    		<param-value>/wsdl/Facesportlet.wsdl</param-value>
    </config-param>
    In addition, delete the referenced WSDL file.
    Remove the following parameter from portlet.xml. Delete the referenced resource bundle file if it is not used for other purposes:
    <config-param>
       <param-name>c2a-nls-file</param-name>
       <param-value>nls.c2aprop</param-value>
    </config-param>
  3. [Faces portlets only] Remove the Faces action mapping parameters from portlet.xml. For example:
    <config-param>
       <param-name>FacesView.jsp.form1.form1.button1</param-name>
       <param-value>/FacesView.jsp?form1&form1:button1</param-value>
    </config-param>
    <config-param>
       <param-name>form1.text1</param-name>
       <param-value>form1:text1</param-value>
    </config-param>
There are other cases where removing a particular target or source portlet is a slightly more complicated manual process. The following topics provide examples to guide you through the process:
Related concepts
Developing cooperative portlets
Related tasks
Disabling cooperative sources and targets
Disabling one of multiple cooperative targets
Disabling a cooperative source for a source/target portlet
Disabling one of multiple cooperative sources
Related reference
Web Services Description Language (WSDL) 1.1
WebSphere Portal Information Center
XML Schema Part 2: Datatypes
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.