vgritsenko 02/02/05 16:32:50 Modified: src/webapp/docs/samples/xsp cacheable.xsp Log: correct mistake Revision Changes Path 1.2 +2 -2 xml-cocoon2/src/webapp/docs/samples/xsp/cacheable.xsp Index: cacheable.xsp =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/xsp/cacheable.xsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cacheable.xsp 2 Feb 2002 04:13:11 -0000 1.1 +++ cacheable.xsp 6 Feb 2002 00:32:50 -0000 1.2 @@ -15,7 +15,7 @@ /** * Generate the unique key. - * This key must be unique inside the space of the all XSP pages. + * This key must be unique inside the space of this XSP page. * This method will be invoked before the generateValidity() method. * * @return The generated key or 0 if the component @@ -24,7 +24,7 @@ public long generateKey() { // Generate unique key; add parameters' values here - return HashUtil.hash(getClass().getName() + request.getParameter("param")); + return "" + request.getParameter("param")); } /**
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]