cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r232225 - in /cocoon/blocks/portal/trunk: WEB-INF/xconf/cocoon-portal.xconf java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java
Date Fri, 12 Aug 2005 07:44:37 GMT
Author: cziegeler
Date: Fri Aug 12 00:44:32 2005
New Revision: 232225

URL: http://svn.apache.org/viewcvs?rev=232225&view=rev
Log:
Disable action counter by default

Modified:
    cocoon/blocks/portal/trunk/WEB-INF/xconf/cocoon-portal.xconf
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java

Modified: cocoon/blocks/portal/trunk/WEB-INF/xconf/cocoon-portal.xconf
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/WEB-INF/xconf/cocoon-portal.xconf?rev=232225&r1=232224&r2=232225&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/WEB-INF/xconf/cocoon-portal.xconf (original)
+++ cocoon/blocks/portal/trunk/WEB-INF/xconf/cocoon-portal.xconf Fri Aug 12 00:44:32 2005
@@ -67,8 +67,9 @@
         <!-- Uncomment this aspect when marshalling JSR168 portlet events 
         <aspect type="convertable"/>
         -->
+        <!-- Use the action counter with great care. We recommend turning it off. -->
         <!-- Remove action-counter when using PageLabels -->
-        <aspect type="action-counter"/>
+        <!-- aspect type="action-counter"/ -->
         <aspect type="frame"/>
         <aspect type="link"/>
         <aspect type="full-screen-coplet"/>

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java?rev=232225&r1=232224&r2=232225&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/aspect/impl/ActionCounterEventAspect.java
Fri Aug 12 00:44:32 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2002,2004 The Apache Software Foundation.
+ * Copyright 1999-2002,2004-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,13 @@
 import org.apache.cocoon.portal.event.aspect.EventAspectContext;
 
 /**
+ * This aspect "disables" the back button of the browser and tries to avoid
+ * problems with the user browsing in multiple windows.
+ * This event attaches a unique number to each request. For each user only the
+ * current number is "active". Every request comming in containing an older
+ * number is disregarded and therefore ignored.
+ * WARNING: This aspect solves some problems while introducing new ones. Some
+ *          features of the portal do NOT work when this aspect is used.
  *
  * @author <a href="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
  * @author <a href="mailto:volker.schmitt@basf-it-services.com">Volker Schmitt</a>



Mime
View raw message