aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF/portlet.xml
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-06-21 10:05:03 +0000
committerHenri Sara <henri.sara@itmill.com>2010-06-21 10:05:03 +0000
commit7d113f46801afbb691737b05551538a29a6473ca (patch)
treef1eb1923840f91086fb6d01be026abdd49563da0 /WebContent/WEB-INF/portlet.xml
parent790cd6a32cfad14e73387bf60f08fcabe73d7c7a (diff)
downloadvaadin-framework-7d113f46801afbb691737b05551538a29a6473ca.tar.gz
vaadin-framework-7d113f46801afbb691737b05551538a29a6473ca.zip
#5204 Include demo portlets in demo package; portlet configuration files are no longer generated at build, cleaned up manually maintained versions
svn changeset:13806/svn branch:6.4
Diffstat (limited to 'WebContent/WEB-INF/portlet.xml')
-rw-r--r--WebContent/WEB-INF/portlet.xml291
1 files changed, 128 insertions, 163 deletions
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index 265c3b3869..2b107d5ae2 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -11,10 +11,9 @@
<name>application</name>
<value>PortletDemo</value>
</init-param>
-
<init-param>
<name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
@@ -40,31 +39,26 @@
<role-name>user</role-name>
</security-role-ref>
</portlet>
+
<portlet>
- <portlet-name>FeatureBrowserPortlet</portlet-name>
- <display-name>Vaadin FeatureBrowser</display-name>
+ <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.tests.featurebrowser.FeaturesApplication</value>
- </init-param>
- <init-param>
- <name>style</name>
- <value>height:650px</value>
+ <value>com.vaadin.demo.Calc</value>
</init-param>
<init-param>
<name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</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>
+ <title>Calc</title>
+ <short-title>Calc</short-title>
</portlet-info>
<security-role-ref>
@@ -82,76 +76,56 @@
</portlet>
<portlet>
- <portlet-name>HelloWorldPortlet</portlet-name>
- <display-name>Hello World</display-name>
+ <portlet-name>SamplerPortlet</portlet-name>
+ <display-name>Sampler</display-name>
<portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
<init-param>
<name>application</name>
- <value>com.vaadin.demo.HelloWorld</value>
+ <value>com.vaadin.demo.sampler.SamplerApplication</value>
+ </init-param>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</value>
+ </init-param>
+ <init-param>
+ <name>style</name>
+ <value>height:650px</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>
+ <title>Sampler</title>
+ <short-title>Sampler</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>VaadinInterPortletEventPortlet</portlet-name>
- <display-name>Hello World Event</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
- <init-param> <name>application</name>
- <value>com.vaadin.demo.portlet.VaadinInterPortletEventPortlet</value>
- </init-param> <init-param> <name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
- </init-param> <supports> <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode> </supports> <portlet-info>
- <title>Inter-portlet events</title> <short-title>Inter-portlet
- events</short-title> </portlet-info> <supported-processing-event>
- <qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Hello</qname>
- </supported-processing-event> <supported-processing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:ReplyToVaadin</qname>
- </supported-processing-event> <supported-publishing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Reply</qname>
- </supported-publishing-event> <supported-publishing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:FromVaadin</qname>
- </supported-publishing-event>
- <supported-public-render-parameter>HelloState</supported-public-render-parameter>
- </portlet> <portlet>
- <portlet-name>InterPortletEventPortlet</portlet-name>
- <display-name>Hello World Event (non-Vaadin)</display-name>
- <portlet-class>com.vaadin.demo.portlet.InterPortletEventPortlet</portlet-class>
- <supports> <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode> </supports> <portlet-info>
- <title>Inter-portlet events (non-Vaadin)</title>
- <short-title>Inter-portlet events (non-Vaadin)</short-title>
- </portlet-info> <supported-processing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Reply</qname>
- </supported-processing-event> <supported-processing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:FromVaadin</qname>
- </supported-processing-event> <supported-publishing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Hello</qname>
- </supported-publishing-event> <supported-publishing-event> <qname
- xmlns:vaadin="http://www.vaadin.com/hello">vaadin:ReplyToVaadin</qname>
- </supported-publishing-event>
- <supported-public-render-parameter>HelloState</supported-public-render-parameter>
- </portlet>
- -->
<portlet>
<portlet-name>Portlet Mode Example</portlet-name>
<display-name>Portlet Mode Example</display-name>
<portlet-class>com.vaadin.demo.portlet.PortletModePortlet</portlet-class>
<init-param>
- <name>widgetset</name>
- <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</value>
- </init-param>
- <init-param>
<name>application</name>
<value>com.vaadin.demo.portlet.PortletModeExample</value>
</init-param>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</value>
+ </init-param>
<supports>
<mime-type>text/html</mime-type>
@@ -164,12 +138,29 @@
<title>PortletModeExample</title>
<short-title>PortletModeExample</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>Portlet HTML Mode Example</portlet-name>
<display-name>Portlet HTML Mode Example</display-name>
<portlet-class>com.vaadin.demo.portlet.HtmlModePortlet</portlet-class>
+ <init-param>
+ <name>widgetset</name>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</value>
+ </init-param>
<supports>
<mime-type>text/html</mime-type>
@@ -181,6 +172,19 @@
<title>Portlet HTML Mode Example</title>
<short-title>Portlet HTML Mode Example</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>
@@ -191,81 +195,17 @@
<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>
-
- <portlet>
- <portlet-name>SamplerPortlet</portlet-name>
- <display-name>Sampler</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
- <init-param>
- <name>application</name>
- <value>com.vaadin.demo.sampler.SamplerApplication</value>
- </init-param>
<init-param>
<name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
- </init-param>
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>view</portlet-mode>
- </supports>
- <portlet-info>
- <title>Sampler</title>
- <short-title>Sampler</short-title>
- </portlet-info>
- </portlet>
-
- <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>
- <init-param>
- <name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</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.sampler.gwt.SamplerWidgetSet</value>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</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>
+ <title>Address Book</title>
+ <short-title>Address Book</short-title>
</portlet-info>
<security-role-ref>
@@ -281,47 +221,70 @@
<role-name>user</role-name>
</security-role-ref>
</portlet>
+
+ <!-- A Vaadin portlet and a non-Vaadin portlet that can communicate with each other -->
<portlet>
- <portlet-name>BrowserDemoPortlet</portlet-name>
- <display-name>Vaadin BrowserDemo</display-name>
- <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <portlet-name>VaadinInterPortletEventPortlet</portlet-name>
+ <display-name>Hello World Event</display-name>
+ <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
<init-param>
<name>application</name>
- <value>BrowserDemo</value>
- </init-param>
- <init-param>
- <name>style</name>
- <value>height:650px</value>
+ <value>com.vaadin.demo.portlet.VaadinInterPortletEventPortlet</value>
</init-param>
<init-param>
<name>widgetset</name>
- <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
+ <value>com.vaadin.portal.gwt.PortalDefaultWidgetSet</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>
+ <title>Inter-portlet events</title>
+ <short-title>Inter-portlet
+ events</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>
+ <supported-processing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Hello</qname>
+ </supported-processing-event>
+ <supported-processing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:ReplyToVaadin</qname>
+ </supported-processing-event>
+ <supported-publishing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Reply</qname>
+ </supported-publishing-event>
+ <supported-publishing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:FromVaadin</qname>
+ </supported-publishing-event>
+ <supported-public-render-parameter>HelloState</supported-public-render-parameter>
</portlet>
-
+ <portlet>
+ <portlet-name>InterPortletEventPortlet</portlet-name>
+ <display-name>Hello World Event (non-Vaadin)</display-name>
+ <portlet-class>com.vaadin.demo.portlet.InterPortletEventPortlet</portlet-class>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>Inter-portlet events (non-Vaadin)</title>
+ <short-title>Inter-portlet events (non-Vaadin)</short-title>
+ </portlet-info>
+ <supported-processing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Reply</qname>
+ </supported-processing-event>
+ <supported-processing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:FromVaadin</qname>
+ </supported-processing-event>
+ <supported-publishing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Hello</qname>
+ </supported-publishing-event>
+ <supported-publishing-event>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:ReplyToVaadin</qname>
+ </supported-publishing-event>
+ <supported-public-render-parameter>HelloState</supported-public-render-parameter>
+ </portlet>
+
<!-- Used by the Portlet mode demo -->
<custom-portlet-mode>
<description>Custom mode</description>
@@ -334,24 +297,26 @@
be serializable and have JAXB binding.
-->
<event-definition>
- <qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Hello</qname>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Hello</qname>
<value-type>java.lang.String</value-type>
</event-definition>
<event-definition>
- <qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Reply</qname>
+ <qname xmlns:vaadin="http://vaadin.com/hello">vaadin:Reply</qname>
<value-type>java.lang.String</value-type>
</event-definition>
<public-render-parameter>
<identifier>HelloState</identifier>
- <qname xmlns:vaadin="http://www.vaadin.com/params">vaadin:HelloState</qname>
+ <qname xmlns:vaadin="http://vaadin.com/params">vaadin:HelloState</qname>
</public-render-parameter>
<!--
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>
+ <container-runtime-option>
+ <name>javax.portlet.escapeXml</name>
+ <value>false</value>
+ </container-runtime-option>
-->
</portlet-app> \ No newline at end of file