portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/template JetspeedTool.java
Date Tue, 31 Aug 2004 19:03:53 GMT
jford       2004/08/31 12:03:53

  Modified:    src/java/org/apache/jetspeed/util/template JetspeedTool.java
  Log:
  Switched to CustomLocalization
  
  Revision  Changes    Path
  1.40      +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTool.java
  
  Index: JetspeedTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/JetspeedTool.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- JetspeedTool.java	31 Aug 2004 18:48:28 -0000	1.39
  +++ JetspeedTool.java	31 Aug 2004 19:03:53 -0000	1.40
  @@ -21,13 +21,13 @@
   
   import org.apache.turbine.util.RunData;
   import org.apache.turbine.services.pull.ApplicationTool;
  -import org.apache.turbine.services.localization.Localization;
   
   import org.apache.jetspeed.portal.Portlet;
   import org.apache.jetspeed.portal.PortletSet;
   import org.apache.jetspeed.portal.PortletControl;
   import org.apache.jetspeed.services.PortalToolkit;
   import org.apache.jetspeed.services.PortletFactory;
  +import org.apache.jetspeed.services.customlocalization.CustomLocalization;
   import org.apache.jetspeed.services.logging.JetspeedLogFactoryService;
   import org.apache.jetspeed.services.logging.JetspeedLogger;
   import org.apache.jetspeed.services.resources.JetspeedResources;
  @@ -616,7 +616,7 @@
               }
               else
               {
  -                result = new JetspeedClearElement(Localization.getString(data, "SECURITY_NO_ACCESS_TO_PORTLET"));
  +                result = new JetspeedClearElement(CustomLocalization.getString("SECURITY_NO_ACCESS_TO_PORTLET",
data));
               }
           } 
           catch (Exception e) 
  
  
  

---------------------------------------------------------------------
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