diff options
Diffstat (limited to 'WebContent/WEB-INF')
-rw-r--r-- | WebContent/WEB-INF/liferay-display.xml | 1 | ||||
-rw-r--r-- | WebContent/WEB-INF/liferay-portlet.xml | 5 | ||||
-rw-r--r-- | WebContent/WEB-INF/portlet.xml | 34 |
3 files changed, 40 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/liferay-display.xml b/WebContent/WEB-INF/liferay-display.xml index 903f441d8b..c4da4c96bd 100644 --- a/WebContent/WEB-INF/liferay-display.xml +++ b/WebContent/WEB-INF/liferay-display.xml @@ -9,6 +9,7 @@ <portlet id="Portlet Mode Example" /> <portlet id="Portlet HTML Mode Example" /> <portlet id="AddressBookPortlet" /> + <portlet id="Vaadin Liferay Theme Portlet"/> <!-- These should be used together --> <portlet id="InterPortletEventPortlet" /> diff --git a/WebContent/WEB-INF/liferay-portlet.xml b/WebContent/WEB-INF/liferay-portlet.xml index 559592a48a..1cfb3d05f2 100644 --- a/WebContent/WEB-INF/liferay-portlet.xml +++ b/WebContent/WEB-INF/liferay-portlet.xml @@ -32,6 +32,11 @@ <instanceable>true</instanceable> <ajaxable>false</ajaxable> </portlet> + <portlet> + <portlet-name>Vaadin Liferay Theme Portlet</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 54c99c5af9..7c565584d7 100644 --- a/WebContent/WEB-INF/portlet.xml +++ b/WebContent/WEB-INF/portlet.xml @@ -225,6 +225,40 @@ <role-name>user</role-name> </security-role-ref> </portlet> + + <portlet> + <portlet-name>Vaadin Liferay Theme Portlet</portlet-name> + <display-name>Vaadin Liferay Theme</display-name> + + <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class> + <init-param> + <name>application</name> + <value>com.vaadin.demo.themes.LiferayTheme</value> + </init-param> + + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>view</portlet-mode> + </supports> + + <portlet-info> + <title>Vaadin Liferay Theme</title> + <short-title>Vaadin Liferay Theme</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> <!-- A Vaadin portlet and a non-Vaadin portlet that can communicate with each other --> <portlet> |