summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF/portlet.xml
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-01-04 16:03:30 +0000
committerHenri Sara <henri.sara@itmill.com>2010-01-04 16:03:30 +0000
commit315d386165bcf6d27420350e7b5b6dcd964c711d (patch)
tree712e4bb617b3d282f39e165ef00cd2574058b733 /WebContent/WEB-INF/portlet.xml
parent866648c5f9aa3ba5f52d2526b3ea2950d1e16cb5 (diff)
downloadvaadin-framework-315d386165bcf6d27420350e7b5b6dcd964c711d.tar.gz
vaadin-framework-315d386165bcf6d27420350e7b5b6dcd964c711d.zip
#3918 Portlet 2.0 modes (edit, view, custom modes) and a sample portlet using modes
svn changeset:10611/svn branch:6.2
Diffstat (limited to 'WebContent/WEB-INF/portlet.xml')
-rw-r--r--WebContent/WEB-INF/portlet.xml29
1 files changed, 28 insertions, 1 deletions
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index 2d58a61ae4..b1a6d4722d 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -201,7 +201,27 @@
</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>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ <portlet-mode>config</portlet-mode>
+ </supports>
+ <portlet-info>
+ <title>PortletModeExample</title>
+ <short-title>PortletModeExample</short-title>
+ </portlet-info>
+ </portlet>
<portlet>
<portlet-name>AddressBookPortlet</portlet-name>
@@ -342,6 +362,13 @@
</security-role-ref>
</portlet>
+ <!-- Used by the Portlet mode demo -->
+ <custom-portlet-mode>
+ <description>Custom mode</description>
+ <portlet-mode>config</portlet-mode>
+ <portal-managed>false</portal-managed>
+ </custom-portlet-mode>
+
<!--
These can be used to customize the event object types.
The types must be serializable and have JAXB binding.