diff options
author | Marc Englund <marc.englund@itmill.com> | 2008-04-11 14:08:28 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2008-04-11 14:08:28 +0000 |
commit | b0ccad9f0cd49013d969ca2ab7ab7f283fd6e77c (patch) | |
tree | e62276673232cdf4dd0f085ea15575be20f92b50 /WebContent/WEB-INF | |
parent | 07e836f62f9cba5f29d8a58693da5e631acb2fc7 (diff) | |
download | vaadin-framework-b0ccad9f0cd49013d969ca2ab7ab7f283fd6e77c.tar.gz vaadin-framework-b0ccad9f0cd49013d969ca2ab7ab7f283fd6e77c.zip |
Much redesigned portal integration; not-quite working yet...
svn changeset:4164/svn branch:trunk
Diffstat (limited to 'WebContent/WEB-INF')
-rw-r--r-- | WebContent/WEB-INF/liferay-display.xml | 4 | ||||
-rw-r--r-- | WebContent/WEB-INF/liferay-portlet.xml | 12 | ||||
-rw-r--r-- | WebContent/WEB-INF/portlet.xml | 76 |
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>
|