mcardle     2005/06/10 12:34:57 CEST

  Modified files:
    src/view/jsp/include box_newslast5.inc 
  Log:
  limits caching (using taglib cache) to Normal mode only
  
  Revision  Changes    Path
  1.3       +3 -4      
corporate_portal_templates/src/view/jsp/include/box_newslast5.inc
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/box_newslast5.inc.diff?r1=1.2&r2=1.3&f=h
  
  
  
  Index: box_newslast5.inc
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/include/box_newslast5.inc,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- box_newslast5.inc 1 Jun 2005 17:20:18 -0000       1.2
  +++ box_newslast5.inc 10 Jun 2005 10:34:57 -0000      1.3
  @@ -1,5 +1,5 @@
   <% 
//------------------------------------------------------------------------ %>
  -<% //         Caches newslast5 box in Edit Mode using Apache Cache Taglib    
 %>
  +<% //         Caches newslast5 box in Normal Mode using Apache Cache Taglib  
   %>
   <% //         (http://jakarta.apache.org/taglibs/doc/cache-doc/)             
 %>
   <% 
//------------------------------------------------------------------------ %>
   
  @@ -163,10 +163,9 @@
       request.setAttribute("cachekey",cachekey);
   %>
   
  -
      <%
  -   //only use the cache when in Edit Mode
  -   if ( !jData.gui().isEditMode() ) {
  +   //only use the cache when in Normal Mode
  +   if ( jData.gui().isNormalMode() ) {
       %>
               <%
               //This set the cache lifetime in seconds
  

Reply via email to