summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebContent/WEB-INF/liferay-display.xml1
-rw-r--r--WebContent/WEB-INF/liferay-portlet.xml5
-rw-r--r--WebContent/WEB-INF/portlet.xml17
3 files changed, 23 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/liferay-display.xml b/WebContent/WEB-INF/liferay-display.xml
index d83b47d8b0..50bed9c7d5 100644
--- a/WebContent/WEB-INF/liferay-display.xml
+++ b/WebContent/WEB-INF/liferay-display.xml
@@ -23,5 +23,6 @@
<portlet id="VaadinInterPortletEventPortlet" />
-->
<portlet id="Portlet Mode Example"/>
+ <portlet id="Portlet HTML Mode Example"/>
</category>
</display> \ No newline at end of file
diff --git a/WebContent/WEB-INF/liferay-portlet.xml b/WebContent/WEB-INF/liferay-portlet.xml
index a3c61dc439..cff3366a41 100644
--- a/WebContent/WEB-INF/liferay-portlet.xml
+++ b/WebContent/WEB-INF/liferay-portlet.xml
@@ -82,6 +82,11 @@
<instanceable>true</instanceable>
<ajaxable>false</ajaxable>
</portlet>
+ <portlet>
+ <portlet-name>Portlet HTML Mode Example</portlet-name>
+ <instanceable>true</instanceable>
+ <ajaxable>false</ajaxable>
+ </portlet>
<role-mapper>
<role-name>administrator</role-name>
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index bab08d4eb1..6cd7f70a48 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -206,6 +206,23 @@
</portlet-info>
</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>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+
+ <portlet-info>
+ <title>Portlet HTML Mode Example</title>
+ <short-title>Portlet HTML Mode Example</short-title>
+ </portlet-info>
+ </portlet>
+
<portlet>
<portlet-name>AddressBookPortlet</portlet-name>
<display-name>Address Book</display-name>