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"
             id="com.ibm.faces.portlet.examples.FacesPortletExample.b8106030ff">

  <portlet>

    <portlet-name>CustomerList</portlet-name>
    <display-name>Customer List</display-name>
    <display-name xml:lang="en">Customer List</display-name>
    <portlet-class>
      com.ibm.faces.webapp.FacesGenericPortlet
    </portlet-class>

    <init-param>
      <name>com.ibm.faces.portlet.page.view</name>
      <value>/CustomerListView.jsp</value>
    </init-param>

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

    <expiration-cache>0</expiration-cache>

    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>view</portlet-mode>
    </supports>

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

    <resource-bundle>
      com.ibm.faces.portlet.examples.nl.CustomerListResource
    </resource-bundle>

    <portlet-info>
      <title>Customer List</title>
    </portlet-info>
  </portlet>

  <portlet>
    <portlet-name>TicketList</portlet-name>
    <display-name>Ticket List</display-name>
    <display-name xml:lang="en">Ticket List</display-name>

    <portlet-class>
      com.ibm.faces.webapp.FacesGenericPortlet
    </portlet-class>

    <init-param>
      <name>com.ibm.faces.portlet.page.view</name>
      <value>/TicketListView.jsp</value>
    </init-param>

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

    <expiration-cache>0</expiration-cache>

    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>view</portlet-mode>
    </supports>

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

    <resource-bundle>
      com.ibm.faces.portlet.examples.nl.TicketListResource
    </resource-bundle>

    <portlet-info>
      <title>Ticket List</title>
    </portlet-info>

  </portlet>


  <portlet>
    <portlet-name>TicketDetail</portlet-name>
    <display-name>Ticket Detail</display-name>
    <display-name xml:lang="en">Ticket Detail</display-name>

    <portlet-class>
      com.ibm.faces.webapp.FacesGenericPortlet
    </portlet-class>

    <init-param>
      <name>com.ibm.faces.portlet.page.view</name>
      <value>/TicketDetailView.jsp</value>
    </init-param>

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

    <expiration-cache>0</expiration-cache>

    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>view</portlet-mode>
    </supports>

    <supported-locale>en</supported-locale>
    <resource-bundle>
      com.ibm.faces.portlet.examples.nl.TicketDetailResource
    </resource-bundle>

    <portlet-info>
      <title>Ticket Detail</title>
    </portlet-info>

  </portlet>

</portlet-app>