Author: ate
Date: Tue Feb 27 13:17:50 2007
New Revision: 512413
URL: http://svn.apache.org/viewvc?view=rev&rev=512413
Log:
Fix for:
ERROR velocity - Left side ($f.Decorator) of '==' operation has null value. If
a reference, it may not be in the context. Operation not possible.
/WEB-INF/templates/layout/html/columns/layout.vm [line 134, column 63]
Modified:
portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Modified:
portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm?view=diff&rev=512413&r1=512412&r2=512413
==============================================================================
---
portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
(original)
+++
portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Tue Feb 27 13:17:50 2007
@@ -207,7 +207,7 @@
<select id='decorator' name='decorator'
onChange="$form$dcnt$submit">
<option value=''>
#foreach($pd in
$decorationFactory.getPortletDecorations($rc))
- <option value='$pd' #if ($f.Decorator == $pd) SELECTED
#end>$pd
+ <option value='$pd' #if ($pd == $f.Decorator) SELECTED
#end>$pd
#end
</select>
#end
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]