paulsp      2002/06/29 04:27:53

  Modified:    src/java/org/apache/jetspeed/portal/portlets
                        VelocityPortlet.java
  Log:
  Causes exception and prevents ALL velocity portlet to fail.
  Note: This is a temporary fix.
  
  Revision  Changes    Path
  1.18      +2 -1      
jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/VelocityPortlet.java
  
  Index: VelocityPortlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/VelocityPortlet.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- VelocityPortlet.java      14 May 2002 06:32:59 -0000      1.17
  +++ VelocityPortlet.java      29 Jun 2002 11:27:52 -0000      1.18
  @@ -153,7 +153,8 @@
           context.put( "skin", this.getPortletConfig().getPortletSkin() );
   
           //add a tool for security information to the template.
  -        context.put( "security", 
(JetspeedSecurityService)JetspeedSecurity.getService() );
  +// FIXME:  This is causing an Exception.  Is it needed?         
  +//        context.put( "security", 
(JetspeedSecurityService)JetspeedSecurity.getService() );
           
           String template = getPortletConfig().getInitParameter("template");
           
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to