cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Cocoon JSR 168 Portlet in Cocoon Portal
Date Tue, 06 Jul 2004 20:44:24 GMT
Hi all,

I have successfully deployed Cocoon JSR-168 Portlet into Cocoon Portal. 
Now, you can deploy your portlets implemented using Cocoon into Cocoon's 
own portal.

There is a very simple demo of the Cocoon JSR-168 portlet included, just 
go to the "JSR168" tab in the portal block demo. The only thing you need 
to do before running demo is to comment out implementation of the 
checkEnvironment() method in the EnvironmentHelper:

Index: 
src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java
===================================================================
RCS file: 
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java,v
retrieving revision 1.3
diff -u -r1.3 EnvironmentHelper.java
--- 
src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java 
     29 May 2004 17:39:38 -0000      1.3
+++ 
src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java 
     6 Jul 2004 20:42:33 -0000
@@ -288,6 +288,7 @@
      public static void checkEnvironment(Logger logger)
      throws Exception {
          // TODO (CZ): This is only for testing - remove it later on
+        /*
          final EnvironmentStack stack = 
(EnvironmentStack)environmentStack.get();
          if (stack != null && !stack.isEmpty() ) {
              logger.error("ENVIRONMENT STACK HAS NOT BEEN CLEANED 
PROPERLY");
@@ -295,6 +296,7 @@
                                            +"Please report this (if 
possible together with a test case) "
                                            +"to the Cocoon developers.");
          }
+        */
      }

      /**


Carsten, can you shed more light as to what will be the best course for 
this?

Vadim


Mime
View raw message