summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF/portlet.xml
diff options
context:
space:
mode:
authorPetter Holmström <petter.holmstrom@itmill.com>2009-11-03 09:45:56 +0000
committerPetter Holmström <petter.holmstrom@itmill.com>2009-11-03 09:45:56 +0000
commit1101a2f9e45bdacb51425950c05b805f54586375 (patch)
tree5d9e869f7ca53bc7390070e99b5fb86d1864e5d3 /WebContent/WEB-INF/portlet.xml
parentb47a8d3e858fd90e0252ceb0c01adbe43073a46a (diff)
downloadvaadin-framework-1101a2f9e45bdacb51425950c05b805f54586375.tar.gz
vaadin-framework-1101a2f9e45bdacb51425950c05b805f54586375.zip
Now the Calc application works on Liferay.
svn changeset:9600/svn branch:portlet_2.0
Diffstat (limited to 'WebContent/WEB-INF/portlet.xml')
-rw-r--r--WebContent/WEB-INF/portlet.xml437
1 files changed, 255 insertions, 182 deletions
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index 88c3fa9a5b..719560852c 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -1,185 +1,258 @@
<?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">
- <portlet>
- <portlet-name>PortletDemoPortlet</portlet-name>
- <display-name>Vaadin PortletDemo</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
- <init-param>
- <name>application</name>
- <value>PortletDemo</value>
- </init-param>
-
- <init-param><name>widgetset</name><value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value></init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
- <portlet-info>
- <title>PortletDemo</title>
- <short-title>PortletDemo</short-title>
- </portlet-info>
-
- <security-role-ref>
- <role-name>administrator</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>guest</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>power-user</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>user</role-name>
- </security-role-ref>
- </portlet>
- <portlet>
- <portlet-name>SimpleReserverPortlet</portlet-name>
- <display-name>Vaadin SimpleReserver</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
- <init-param>
- <name>application</name>
- <value>SimpleReserver</value>
- </init-param>
- <init-param><name>style</name><value>style=height:400px</value></init-param>
- <init-param><name>widgetset</name><value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value></init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
- <portlet-info>
- <title>SimpleReserver</title>
- <short-title>SimpleReserver</short-title>
- </portlet-info>
-
- <security-role-ref>
- <role-name>administrator</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>guest</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>power-user</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>user</role-name>
- </security-role-ref>
- </portlet>
- <portlet>
- <portlet-name>FeatureBrowserPortlet</portlet-name>
- <display-name>Vaadin FeatureBrowser</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
- <init-param>
- <name>application</name>
- <value>com.vaadin.tests.featurebrowser.FeaturesApplication</value>
- </init-param>
- <init-param><name>style</name><value>style=height:650px</value></init-param>
- <init-param><name>widgetset</name><value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value></init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
- <portlet-info>
- <title>FeatureBrowser</title>
- <short-title>FeatureBrowser</short-title>
- </portlet-info>
-
- <security-role-ref>
- <role-name>administrator</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>guest</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>power-user</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>user</role-name>
- </security-role-ref>
- </portlet>
- <portlet>
- <portlet-name>ChatServletPortlet</portlet-name>
- <display-name>Vaadin ChatServlet</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
- <init-param>
- <name>application</name>
- <value>chat</value>
- </init-param>
-
- <init-param><name>widgetset</name><value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value></init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
- <portlet-info>
- <title>ChatServlet</title>
- <short-title>ChatServlet</short-title>
- </portlet-info>
-
- <security-role-ref>
- <role-name>administrator</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>guest</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>power-user</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>user</role-name>
- </security-role-ref>
- </portlet>
- <portlet>
- <portlet-name>BrowserDemoPortlet</portlet-name>
- <display-name>Vaadin BrowserDemo</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
- <init-param>
- <name>application</name>
- <value>BrowserDemo</value>
- </init-param>
- <init-param><name>style</name><value>style=height:650px</value></init-param>
- <init-param><name>widgetset</name><value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value></init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
- <portlet-info>
- <title>BrowserDemo</title>
- <short-title>BrowserDemo</short-title>
- </portlet-info>
-
- <security-role-ref>
- <role-name>administrator</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>guest</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>power-user</role-name>
- </security-role-ref>
- <security-role-ref>
- <role-name>user</role-name>
- </security-role-ref>
- </portlet>
+<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">
+ <portlet>
+ <portlet-name>PortletDemoPortlet</portlet-name>
+ <display-name>Vaadin PortletDemo</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>com.vaadin.demo.PortletDemo</value>
+ </init-param>
- <!--
- This can be used to work around an issue in liferay 5.0-5.1.1
-
- <container-runtime-option>
- <name>javax.portlet.escapeXml</name>
- <value>false</value>
- </container-runtime-option>
--->
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>PortletDemo</title>
+ <short-title>PortletDemo</short-title>
+ </portlet-info>
+
+ <security-role-ref>
+ <role-name>administrator</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>power-user</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ </security-role-ref>
+ </portlet>
+ <portlet>
+ <portlet-name>SimpleReserverPortlet</portlet-name>
+ <display-name>Vaadin SimpleReserver</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>SimpleReserver</value>
+ </init-param>
+ <init-param>
+ <name>style</name>
+ <value>style=height:400px</value>
+ </init-param>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>SimpleReserver</title>
+ <short-title>SimpleReserver</short-title>
+ </portlet-info>
+
+ <security-role-ref>
+ <role-name>administrator</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>power-user</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ </security-role-ref>
+ </portlet>
+ <portlet>
+ <portlet-name>FeatureBrowserPortlet</portlet-name>
+ <display-name>Vaadin FeatureBrowser</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>com.vaadin.tests.featurebrowser.FeaturesApplication</value>
+ </init-param>
+ <init-param>
+ <name>style</name>
+ <value>style=height:650px</value>
+ </init-param>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>FeatureBrowser</title>
+ <short-title>FeatureBrowser</short-title>
+ </portlet-info>
+
+ <security-role-ref>
+ <role-name>administrator</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>power-user</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ </security-role-ref>
+ </portlet>
+ <portlet>
+ <portlet-name>HelloWorldPortlet</portlet-name>
+ <display-name>Hello World</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>com.vaadin.demo.HelloWorld</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>HelloWorld</title>
+ <short-title>HelloWorld</short-title>
+ </portlet-info>
+ </portlet>
+ <portlet>
+ <portlet-name>AddressBookPortlet</portlet-name>
+ <display-name>Address Book</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>Address Book</title>
+ <short-title>Address Book</short-title>
+ </portlet-info>
+ </portlet>
+ <!-- TODO -->
+ <portlet>
+ <portlet-name>CalcPortlet</portlet-name>
+ <display-name>Calc</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>com.vaadin.demo.Calc</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>Calc</title>
+ <short-title>Calc</short-title>
+ </portlet-info>
+ </portlet>
+ <portlet>
+ <portlet-name>ChatServletPortlet</portlet-name>
+ <display-name>Vaadin ChatServlet</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>chat</value>
+ </init-param>
+
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>ChatServlet</title>
+ <short-title>ChatServlet</short-title>
+ </portlet-info>
+
+ <security-role-ref>
+ <role-name>administrator</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>power-user</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ </security-role-ref>
+ </portlet>
+ <portlet>
+ <portlet-name>BrowserDemoPortlet</portlet-name>
+ <display-name>Vaadin BrowserDemo</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>BrowserDemo</value>
+ </init-param>
+ <init-param>
+ <name>style</name>
+ <value>style=height:650px</value>
+ </init-param>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.demo.reservation.gwt.ReservationWidgetSet</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>BrowserDemo</title>
+ <short-title>BrowserDemo</short-title>
+ </portlet-info>
+
+ <security-role-ref>
+ <role-name>administrator</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>power-user</role-name>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ </security-role-ref>
+ </portlet>
+
+ <!--
+ This can be used to work around an issue in liferay 5.0-5.1.1
+
+ <container-runtime-option> <name>javax.portlet.escapeXml</name>
+ <value>false</value> </container-runtime-option>
+ -->
</portlet-app> \ No newline at end of file