+

Search Tips   |   Advanced Search

portlet.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" 
             version="1.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
                                 http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                                 id="com.ibm.portal.examples.CooperativePortlet.1bd94ab8d0">
    <portlet>

        <description>Displays details for a particular order</description>
        <portlet-name>OrderDetailPortlet</portlet-name>
        <display-name>Order Detail Portlet</display-name>
        <portlet-class>com.ibm.portal.examples.OrderDetailPortlet</portlet-class>

        <init-param>
        	<name>wps.markup</name>
        	<value>html</value>
        </init-param>

        <expiration-cache>3600</expiration-cache>

        <supports>
            <mime-type>text/html</mime-type>
        </supports>

        <supported-locale>en</supported-locale>
        <resource-bundle>com.ibm.portal.examples.nl.OrderDetail</resource-bundle>

        <portlet-info>

            <title>Order Detail</title>
            <short-title>OD</short-title>
            <keywords>Property Broker, Cooperative Portlets</keywords>

        </portlet-info>

        <portlet-preferences>

            <preference>
                <name>com.ibm.portal.propertybroker.wsdllocation</name>
                <value>/wsdl/OrderDetail.wsdl</value>
            </preference>

            <preference>
                <name>com.ibm.portal.pagecontext.enable</name>
                <value>true</value>
            </preference>

        </portlet-preferences>        

    </portlet>

    <portlet>

        <description>Displays details for a particular customer</description>
        <portlet-name>CustomerDetailPortlet</portlet-name>
        <display-name>Customer Detail Portlet</display-name>
        <portlet-class>com.ibm.portal.examples.CustomerPortlet</portlet-class>

        <init-param>
        	<name>wps.markup</name>
        	<value>html</value>
        </init-param>

        <expiration-cache>3600</expiration-cache>

        <supports>
            <mime-type>text/html</mime-type>
        </supports>

        <supported-locale>en</supported-locale>
        <resource-bundle>com.ibm.portal.examples.nl.CustomerDetail</resource-bundle>

        <portlet-info>
            <title>Customer Detail</title>
            <short-title>CD</short-title>
            <keywords>Property Broker, Cooperative Portlets</keywords>
        </portlet-info>

        <portlet-preferences>
            <preference>
                <name>com.ibm.portal.propertybroker.wsdllocation</name>
                <value>/wsdl/CustomerDetail.wsdl</value>
            </preference>
        </portlet-preferences>

    </portlet>

    <portlet>

        <description>Displays details for a particular shipment tracking</description>
        <portlet-name>TrackingDetailPortlet</portlet-name>
        <display-name>Tracking Detail Portlet</display-name>
        <portlet-class>com.ibm.portal.examples.TrackingPortlet</portlet-class>

        <init-param>
        	<name>wps.markup</name>
        	<value>html</value>
        </init-param>

        <expiration-cache>3600</expiration-cache>

        <supports>
            <mime-type>text/html</mime-type>
        </supports>

        <supported-locale>en</supported-locale>

        <resource-bundle>com.ibm.portal.examples.nl.TrackingDetail</resource-bundle>

        <portlet-info>
            <title>Tracking Detail</title>
            <short-title>TD</short-title>
            <keywords>Property Broker, Cooperative Portlets</keywords>
        </portlet-info>

        <portlet-preferences>

            <preference>
                <name>com.ibm.portal.propertybroker.wsdllocation</name>
                <value>/wsdl/TrackingDetail.wsdl</value>
            </preference>

        </portlet-preferences>

    </portlet>

    <portlet>

        <description>Displays account details for order</description>
        <portlet-name>AccountDetail</portlet-name>
        <display-name>Account Detail</display-name>
        <portlet-class>com.ibm.portal.examples.AccountsPortlet</portlet-class>

        <init-param>
        	<name>wps.markup</name>
        	<value>html</value>
        </init-param>

        <expiration-cache>3600</expiration-cache>

        <supports>
            <mime-type>text/html</mime-type>
        </supports>

        <supported-locale>en</supported-locale>
        <resource-bundle>com.ibm.portal.examples.nl.AccountDetail</resource-bundle>

        <portlet-info>

            <title>Account Detail</title>
            <short-title>AD</short-title>
            <keywords>Property Broker, Cooperative Portlets</keywords>

        </portlet-info>

        <portlet-preferences>

            <preference>
                <name>com.ibm.portal.propertybroker.wsdllocation</name>
                <value>/wsdl/AccountDetail.wsdl</value>
            </preference>

        </portlet-preferences>

    </portlet>

    <portlet>

        <description>Summary of orders placed in a particular month</description>
        <portlet-name>OrdersPortlet</portlet-name>
        <display-name>Orders Portlet</display-name>
        <portlet-class>com.ibm.portal.examples.OrderMonthPortlet</portlet-class>

        <init-param>
        	<name>wps.markup</name>
        	<value>html</value>
        </init-param>

        <expiration-cache>3600</expiration-cache>

        <supports>
            <mime-type>text/html</mime-type>
        </supports>

        <supported-locale>en</supported-locale>

        <resource-bundle>com.ibm.portal.examples.nl.Orders</resource-bundle>

        <portlet-info>
            <title>Orders</title>
            <short-title>Orders</short-title>
            <keywords>Property Broker, Cooperative Portlets</keywords>
        </portlet-info>

        <portlet-preferences>
            <preference>
                <name>com.ibm.portal.propertybroker.wsdllocation</name>
                <value>/wsdl/Orders.wsdl</value>
            </preference>
        </portlet-preferences>

    </portlet>
</portlet-app>