Author: ate
Date: Mon Jun 27 04:49:03 2005
New Revision: 201971
URL: http://svn.apache.org/viewcvs?rev=201971&view=rev
Log:
Prevent some Velocity errors
Modified:
portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm
Modified:
portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm
URL:
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm?rev=201971&r1=201970&r2=201971&view=diff
==============================================================================
---
portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm
(original)
+++
portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm
Mon Jun 27 04:49:03 2005
@@ -59,11 +59,13 @@
##
## Portlet Content
##
+#if ($jetspeed.errors)
#set($portletErrors = $jetspeed.errors)
+#end
#if (!$jetspeed.isHidden($myF) || $jetspeed.WindowState != "minimized")
<tr>
<td class="PContent">
- #if($portletErrors.size() > 0)
+ #if($portletErrors && $portletErrors.size() > 0)
The following errors ocurred:<br />
#foreach($errorMsg in $portletErrors)
<p class="portlet-msg-error">$errorMsg</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]