summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/WEB-INF/liferay-display.xml8
-rw-r--r--WebContent/WEB-INF/liferay-portlet.xml29
-rw-r--r--WebContent/WEB-INF/portlet.xml36
3 files changed, 73 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/liferay-display.xml b/WebContent/WEB-INF/liferay-display.xml
new file mode 100644
index 0000000000..d92c1b4397
--- /dev/null
+++ b/WebContent/WEB-INF/liferay-display.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 4.0.0//EN" "http://www.liferay.com/dtd/liferay-display_4_0_0.dtd">
+
+<display>
+ <category name="IT Mill Toolkit">
+ <portlet id="ApplicationPortlet" />
+ </category>
+</display> \ No newline at end of file
diff --git a/WebContent/WEB-INF/liferay-portlet.xml b/WebContent/WEB-INF/liferay-portlet.xml
new file mode 100644
index 0000000000..5af07be367
--- /dev/null
+++ b/WebContent/WEB-INF/liferay-portlet.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 4.3.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_4_3_0.dtd">
+
+<liferay-portlet-app>
+
+ <portlet>
+ <portlet-name>ApplicationPortlet</portlet-name>
+ <instanceable>true</instanceable>
+ <ajaxable>false</ajaxable>
+ </portlet>
+
+ <role-mapper>
+ <role-name>administrator</role-name>
+ <role-link>Administrator</role-link>
+ </role-mapper>
+ <role-mapper>
+ <role-name>guest</role-name>
+ <role-link>Guest</role-link>
+ </role-mapper>
+ <role-mapper>
+ <role-name>power-user</role-name>
+ <role-link>Power User</role-link>
+ </role-mapper>
+ <role-mapper>
+ <role-name>user</role-name>
+ <role-link>User</role-link>
+ </role-mapper>
+
+</liferay-portlet-app> \ No newline at end of file
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
new file mode 100644
index 0000000000..3f414ab07b
--- /dev/null
+++ b/WebContent/WEB-INF/portlet.xml
@@ -0,0 +1,36 @@
+<?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>ApplicationPortlet</portlet-name>
+ <display-name>IT Mill Toolkit Portlet</display-name>
+ <portlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <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>IT Mill Toolkit ApplicationPortlet</title>
+ <short-title>ApplicationPortlet</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> \ No newline at end of file