portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/pages JetspeedTemplatePage.java
Date Sat, 07 Jul 2001 21:10:24 GMT
taylor      01/07/07 14:10:24

  Modified:    src/java/org/apache/jetspeed/modules/pages
                        JetspeedTemplatePage.java
  Log:
  - References to Profiler.locate* changed to TemplateLocator.locate*
  
  Revision  Changes    Path
  1.14      +4 -4      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/pages/JetspeedTemplatePage.java
  
  Index: JetspeedTemplatePage.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/pages/JetspeedTemplatePage.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JetspeedTemplatePage.java	2001/06/06 22:28:56	1.13
  +++ JetspeedTemplatePage.java	2001/07/07 21:10:23	1.14
  @@ -71,7 +71,7 @@
   import org.apache.jetspeed.util.MimeType;
   import org.apache.jetspeed.capability.CapabilityMap;
   import org.apache.jetspeed.capability.CapabilityMapFactory;
  -import org.apache.jetspeed.services.Profiler;
  +import org.apache.jetspeed.services.TemplateLocator;
   
   //<Temporary FIX: new turbine will make it obsolete>        
   import org.apache.turbine.services.localization.LocaleDetector;
  @@ -125,7 +125,7 @@
    *
    * @author <a href="mailto:john.mcnally@clearink.com">John D. McNally</a>
    * @author <a href="mailto:mbryson@mont.mindspring.com">Dave Bryson</a>
  - * @version $Id: JetspeedTemplatePage.java,v 1.13 2001/06/06 22:28:56 raphael Exp $
  + * @version $Id: JetspeedTemplatePage.java,v 1.14 2001/07/07 21:10:23 taylor Exp $
    */
   public class JetspeedTemplatePage extends DefaultPage
   {
  @@ -170,11 +170,11 @@
               // when the TurbineTemplateService can locate resources by NLS and mediatype,
               // then it can be removed
   
  -            String locatedScreen = Profiler.locateScreenTemplate(data, template);
  +            String locatedScreen = TemplateLocator.locateScreenTemplate(data, template);
               data.setScreenTemplate( locatedScreen );
               Log.debug("JetspeedTemplatePage: calculated template = " + locatedScreen);
   
  -            String layout = Profiler.locateLayoutTemplate(data, template);
  +            String layout = TemplateLocator.locateLayoutTemplate(data, template);
               data.setLayoutTemplate(layout);
               Log.debug("JetspeedTemplatePage: layoutTemplate is finally " + layout);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message