From 4089f688f2a6fabf0deafa1ce39c76e76b9d740a Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Thu, 24 Apr 2008 13:37:03 +0000 Subject: [PATCH] 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 --- .../portlet/util/PortletConfigurationGenerator.java | 7 +++++-- 1 file 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 { + " help\r\n" + " \r\n" + " \r\n" - + " IT Mill Toolkit %NAME%\r\n" + + " %NAME%\r\n" + " %NAME%\r\n" + " \r\n" + " \r\n" @@ -66,7 +66,10 @@ public class PortletConfigurationGenerator { + " user\r\n" + " \r\n" + " \r\n"; - private static final String PORTLET_XML_FOOT = ""; + private static final String PORTLET_XML_FOOT = " \r\n" + + " javax.portlet.escapeXml\r\n" + + " false\r\n" + + " " + ""; private static final String LIFERAY_PORTLET_XML_HEAD = "\r\n" + "\r\n" -- 2.39.5