ghoward 2003/07/01 06:53:33
Modified: src/scratchpad/src/org/apache/cocoon/acting CacheEventAction.java Log: use sitemap param instead of request param. sitemap can fill in request param using input module if desired. Revision Changes Path 1.2 +1 -2 cocoon-2.1/src/scratchpad/src/org/apache/cocoon/acting/CacheEventAction.java Index: CacheEventAction.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/scratchpad/src/org/apache/cocoon/acting/CacheEventAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CacheEventAction.java 1 Jul 2003 04:40:00 -0000 1.1 +++ CacheEventAction.java 1 Jul 2003 13:53:33 -0000 1.2 @@ -93,8 +93,7 @@ Cache cache = (Cache)this.manager.lookup(Cache.ROLE); if (cache instanceof EventAwareCacheImpl) { Request request = ObjectModelHelper.getRequest(objectModel); - String eventParam = par.getParameter("event"); - String eventName = request.getParameter(eventParam); + String eventName = par.getParameter("event"); if (getLogger().isDebugEnabled()) { getLogger().debug("Configured for cache event named: " + eventName); }