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 mo...@apache.org on 2002/08/20 19:40:48 UTC
cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html customizer-portlet.vm
morciuch 2002/08/20 10:40:48
Modified: webapp/WEB-INF/templates/vm/portlets/html
customizer-portlet.vm
Log:
Added support for parameter presentation styles (see Bugzilla issue 11697)
Revision Changes Path
1.11 +4 -2 jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portlet.vm
Index: customizer-portlet.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portlet.vm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- customizer-portlet.vm 13 Aug 2002 22:24:53 -0000 1.10
+++ customizer-portlet.vm 20 Aug 2002 17:40:48 -0000 1.11
@@ -18,7 +18,7 @@
<table width="100%" cellpadding="1" cellspacing="0">
<tr>
<td><b>Title</b></td>
- <td><input type="text" name="current_title" value="$current_title" size="50"></td>
+ <td><input type="text" name="current_title" value="$!current_title" size="50"></td>
</tr>
<tr>
<td colspan="2">
@@ -42,7 +42,9 @@
<tr>
<td align="left" nowrap><b>#if ($param.Title) $param.Title #else $param.Name #end</b></td>
<td>
- #if ($param.Type == "boolean")
+ #if ($param.Type == "style")
+ $jetspeed.getPortletParameter($data, $portlet, $param.Name)
+ #elseif ($param.Type == "boolean")
<select name="$param.Name">
<option #if ($config.getInitParameter($param.Name) == "false") SELECTED #end>false
<option #if ($config.getInitParameter($param.Name) == "true") SELECTED #end>true
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>