You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by pa...@apache.org on 2002/06/29 13:27:53 UTC
cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets VelocityPortlet.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>