aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/WEB-INF/liferay-display.xml4
-rw-r--r--WebContent/WEB-INF/liferay-portlet.xml12
-rw-r--r--WebContent/WEB-INF/portlet.xml76
3 files changed, 86 insertions, 6 deletions
diff --git a/WebContent/WEB-INF/liferay-display.xml b/WebContent/WEB-INF/liferay-display.xml
index d92c1b4397..8ba4a93f7f 100644
--- a/WebContent/WEB-INF/liferay-display.xml
+++ b/WebContent/WEB-INF/liferay-display.xml
@@ -3,6 +3,8 @@
<display>
<category name="IT Mill Toolkit">
- <portlet id="ApplicationPortlet" />
+ <portlet id="PortletDemo" />
+ <portlet id="Calc" />
+ <portlet id="FeatureBrowser" />
</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 5af07be367..d445af65a7 100644
--- a/WebContent/WEB-INF/liferay-portlet.xml
+++ b/WebContent/WEB-INF/liferay-portlet.xml
@@ -4,7 +4,17 @@
<liferay-portlet-app>
<portlet>
- <portlet-name>ApplicationPortlet</portlet-name>
+ <portlet-name>PortletDemo</portlet-name>
+ <instanceable>true</instanceable>
+ <ajaxable>false</ajaxable>
+ </portlet>
+ <portlet>
+ <portlet-name>Calc</portlet-name>
+ <instanceable>true</instanceable>
+ <ajaxable>false</ajaxable>
+ </portlet>
+ <portlet>
+ <portlet-name>FeatureBrowser</portlet-name>
<instanceable>true</instanceable>
<ajaxable>false</ajaxable>
</portlet>
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index 3f414ab07b..e0b00b5dae 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -5,9 +5,13 @@
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-name>PortletDemo</portlet-name>
+ <display-name>IT Mill Toolkit PortletDemo</display-name>
<portlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>PortletDemo</value>
+ </init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
@@ -15,8 +19,72 @@
<portlet-mode>help</portlet-mode>
</supports>
<portlet-info>
- <title>IT Mill Toolkit ApplicationPortlet</title>
- <short-title>ApplicationPortlet</short-title>
+ <title>IT Mill Toolkit PortletDemo</title>
+ <short-title>PortletDemo</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>FeatureBrowser</portlet-name>
+ <display-name>IT Mill Toolkit FeatureBrowser</display-name>
+ <portlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>FeatureBrowser</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>IT Mill Toolkit FeatureBrowser</title>
+ <short-title>FeatureBrowser</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>Calc</portlet-name>
+ <display-name>IT Mill Toolkit Calc</display-name>
+ <portlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationPortlet</portlet-class>
+ <init-param>
+ <name>application</name>
+ <value>Calc</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>IT Mill Toolkit Calc</title>
+ <short-title>Calc</short-title>
</portlet-info>
<security-role-ref>