diff options
author | Marc Englund <marc.englund@itmill.com> | 2008-04-24 13:37:03 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2008-04-24 13:37:03 +0000 |
commit | 4089f688f2a6fabf0deafa1ce39c76e76b9d740a (patch) | |
tree | 11705e431f84a8b0b1072ef1d2416ce73972e0ff /portlet-src/com | |
parent | 14410f2a048409af75014597717ba5fc32a83674 (diff) | |
download | vaadin-framework-4089f688f2a6fabf0deafa1ce39c76e76b9d740a.tar.gz vaadin-framework-4089f688f2a6fabf0deafa1ce39c76e76b9d740a.zip |
Added configuration to make actions work with Liferay 5 (broken in Liferay 5.0.1, this is IMO a workaround)
svn changeset:4227/svn branch:trunk
Diffstat (limited to 'portlet-src/com')
-rw-r--r-- | portlet-src/com/itmill/toolkit/portlet/util/PortletConfigurationGenerator.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/portlet-src/com/itmill/toolkit/portlet/util/PortletConfigurationGenerator.java b/portlet-src/com/itmill/toolkit/portlet/util/PortletConfigurationGenerator.java index 175e8bc592..5b630858b5 100644 --- a/portlet-src/com/itmill/toolkit/portlet/util/PortletConfigurationGenerator.java +++ b/portlet-src/com/itmill/toolkit/portlet/util/PortletConfigurationGenerator.java @@ -49,7 +49,7 @@ public class PortletConfigurationGenerator { + " <portlet-mode>help</portlet-mode>\r\n"
+ " </supports>\r\n"
+ " <portlet-info>\r\n"
- + " <title>IT Mill Toolkit %NAME%</title>\r\n"
+ + " <title>%NAME%</title>\r\n"
+ " <short-title>%NAME%</short-title>\r\n"
+ " </portlet-info>\r\n"
+ " \r\n"
@@ -66,7 +66,10 @@ public class PortletConfigurationGenerator { + " <role-name>user</role-name>\r\n"
+ " </security-role-ref>\r\n"
+ " </portlet>\r\n";
- private static final String PORTLET_XML_FOOT = "</portlet-app>";
+ private static final String PORTLET_XML_FOOT = " <container-runtime-option>\r\n"
+ + " <name>javax.portlet.escapeXml</name>\r\n"
+ + " <value>false</value>\r\n"
+ + " </container-runtime-option>" + "</portlet-app>";
private static final String LIFERAY_PORTLET_XML_HEAD = "<?xml version=\"1.0\"?>\r\n"
+ "<!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\">\r\n"
|