portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/test/testdata/deploy portlet2.xml
Date Fri, 17 Oct 2003 20:04:47 GMT
weaver      2003/10/17 13:04:47

  Added:       portal/test/testdata/deploy portlet2.xml
  Log:
  portlet2.xml is an exact copy of the demo applications portlet.xml which I am also using
for tests
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/portal/test/testdata/deploy/portlet2.xml
  
  Index: portlet2.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <portlet-app id="HW_App" version="1.0">
    <portlet id="HelloPortlet">
      <init-param>
  			<description>test init param</description>
  			<name>hello</name>
  			<value>Hello Portlet</value>
       </init-param>   
      <portlet-name>HelloPortlet</portlet-name>
      <display-name>HelloWorld Portlet Wrapper</display-name>
      <description>This is the hello world of portlets, it doesn't do much</description>
      <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>EDIT</portlet-mode>
        <portlet-mode>VIEW</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
      </supports>
      <portlet-info>
        <title>HelloWorldTitle</title>
        <short-title>This is the short title</short-title>
        <keywords>Test</keywords>
      </portlet-info>
    </portlet>
    
     <portlet id="JMXPortlet">
        
      <portlet-name>JMXPortlet</portlet-name>
      <display-name>JMX Registry Access portlet</display-name>
      <portlet-class>org.apache.jetspeed.demo.jmx.JMXPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <portlet-info>
        <title>JMX Portal Console</title>
        <short-title>JMX Portlet Console</short-title>
        <keywords>JMX</keywords>
      </portlet-info>
    </portlet>
    
    <portlet id="PreferencePortlet">      
      <portlet-name>PreferencePortlet</portlet-name>
      <display-name>PreferencePortlet</display-name>
      <portlet-class>org.apache.jetspeed.demo.preferences.PreferencePortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <portlet-info>
        <title>Preference Test</title>
        <short-title>Preference Test</short-title>
        <keywords>Preferences</keywords>
      </portlet-info>
      <portlet-preferences>
      	 <preference>
      	 	 <name>pref1</name>
      	 	 <value>Hello</value>
      	 	 <value>Hello2</value>
      	  </preference>
      </portlet-preferences>
    </portlet>
   
    <portlet id="DisplayRequestPortlet">
      <init-param> 
  	    <name>HelpPage</name>
  	    <value>/WEB-INF/demo/simple/DisplayRequestHelp.jsp</value>
      </init-param> 
      <init-param> 
  	    <name>ViewPage</name>
    	  <value>/WEB-INF/demo/simple/DisplayRequest.jsp</value>
      </init-param> 
      <portlet-name>DisplayRequestPortlet</portlet-name>
      <display-name>DisplayRequest Portlet Wrapper</display-name>
      <portlet-class>org.apache.jetspeed.portlet.ServletPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
      </supports>
      <portlet-info>
        <title>Display the Portlet Request Information</title>
        <short-title>Portlet Request Information</short-title>
      </portlet-info>
    </portlet>
   
    <portlet id="PickANumberPortlet">
      <portlet-name>PickANumberPortlet</portlet-name>
      <display-name>Pick a number game</display-name>
      <portlet-class>org.apache.jetspeed.demo.simple.PickANumberServlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
      </supports>
      <portlet-info>
        <title>Pick a Number</title>
      </portlet-info>
    </portlet>
    
    <portlet id="AttributeScopePortlet">
      <portlet-name>AttributeScopePortlet</portlet-name>
      <display-name>Attribute Scope Demo</display-name>
      <portlet-class>org.apache.jetspeed.demo.simple.AttributeScopeServlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
      </supports>
      <portlet-info>
        <title>Attribute Scope Demo Portlet</title>
      </portlet-info>
    </portlet>
  
    <portlet id="CustomerList">
      <init-param> 
  	  <name>ViewPage</name>
    	  <value>/WEB-INF/demo/customerInfo/Page1.jsp</value>
      </init-param> 
      <portlet-name>CustomerList</portlet-name>
      <display-name>Customer List</display-name>
      <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <portlet-info>
        <title>Customer List</title>
        <short-title>Customer List</short-title>
      </portlet-info>
    </portlet>
  
    <portlet id="CustomerInfo">
      <init-param> 
  	  <name>ViewPage</name>
    	  <value>/WEB-INF/demo/customerInfo/Page2.jsp</value>
      </init-param> 
      <portlet-name>CustomerInfo</portlet-name>
      <display-name>Customer Information</display-name>
      <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <portlet-info>
        <title>Customer Information</title>
        <short-title>Customer Info</short-title>
      </portlet-info>
    </portlet>
  
    <portlet id="CustomerDetail">
      <init-param> 
  	  <name>ViewPage</name>
    	  <value>/WEB-INF/demo/customerInfo/Page3.jsp</value>
      </init-param> 
      <portlet-name>CustomerDetail</portlet-name>
      <display-name>Customer Detail</display-name>
      <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <portlet-info>
        <title>Customer Detail</title>
        <short-title>Customer Detail</short-title>
      </portlet-info>
    </portlet>
  
    <portlet id="LoginPortlet">
      <init-param> 
  	    <name>ViewPage</name>
    	  <value>/WEB-INF/demo/simple/Login.jsp</value>
      </init-param> 
      <portlet-name>LoginPortlet</portlet-name>
      <display-name>LoginRequest Portlet Wrapper</display-name>
      <portlet-class>org.apache.jetspeed.portlet.ServletPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
     </supports>
      <portlet-info>
        <title>Login/Logout  Request Information</title>
        <short-title>Portlet Request Information</short-title>
      </portlet-info>
    </portlet>
  
  </portlet-app>
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message