This project has retired. For details please refer to its
Attic page .
ActionCounterEventAspect (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.portal.event.aspect.impl
Class ActionCounterEventAspect
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.event.aspect.impl.ActionCounterEventAspect
All Implemented Interfaces: Component , LogEnabled , Parameterizable , ThreadSafe , EventAspect
public class ActionCounterEventAspect extends AbstractLogEnabled implements EventAspect , ThreadSafe , Parameterizable
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.
Version:
CVS $Id: ActionCounterEventAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler , Volker Schmitt
Fields inherited from interface org.apache.cocoon.portal.event.aspect.EventAspect
ROLE
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
ATTRIBUTE_NAME
protected static final String ATTRIBUTE_NAME
parameterName
protected String parameterName
The name of the parameter to check
ActionCounterEventAspect
public ActionCounterEventAspect ()
process
public void process (EventAspectContext context,
PortalService service)
Specified by: process
in interface EventAspect
parameterize
public void parameterize (Parameters parameters)
throws ParameterException
Specified by: parameterize
in interface Parameterizable
Throws:
ParameterException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.