Author: tan_pham_dinh
Date: 2009-12-31 08:16:36 -0500 (Thu, 31 Dec 2009)
New Revision: 1152
Added:
portal/trunk/component/web/src/main/java/org/exoplatform/web/resource/config/xml/FCKConfigListener.java
Log:
FCK is useless in Gatein. Remove it
Added:
portal/trunk/component/web/src/main/java/org/exoplatform/web/resource/config/xml/FCKConfigListener.java
===================================================================
---
portal/trunk/component/web/src/main/java/org/exoplatform/web/resource/config/xml/FCKConfigListener.java
(rev 0)
+++
portal/trunk/component/web/src/main/java/org/exoplatform/web/resource/config/xml/FCKConfigListener.java 2009-12-31
13:16:36 UTC (rev 1152)
@@ -0,0 +1,20 @@
+package org.exoplatform.web.resource.config.xml;
+
+import javax.servlet.ServletContextEvent;
+import javax.servlet.ServletContextListener;
+
+public class FCKConfigListener implements ServletContextListener
+{
+ public static String FCK_CONTEXT_PATH;
+
+ public void contextDestroyed(ServletContextEvent event)
+ {
+
+ }
+
+ public void contextInitialized(ServletContextEvent event)
+ {
+ FCK_CONTEXT_PATH = event.getServletContext().getContextPath();
+ }
+
+}
Show replies by date