paulsp 2002/07/01 20:16:03
Modified: webapp/WEB-INF/templates/vm/portlets/html
customizer-portlet.vm
Log:
Display the current parameter value, not the default.
Revision Changes Path
1.7 +3 -25
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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- customizer-portlet.vm 30 Jun 2002 18:55:38 -0000 1.6
+++ customizer-portlet.vm 2 Jul 2002 03:16:03 -0000 1.7
@@ -11,35 +11,13 @@
<br>
#end
<table width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td><b>$l10n.CUSTOMIZER_SKIN</b></td>
- <td>
- <select name="_skin">
- <option value="">-- Default--
- #foreach ($temp_skin in $skins)
- <option value="$temp_skin.Name" #if ($temp_skin.Name == $!current_skin)
SELECTED #end>
- #if ($temp_skin.Title) $temp_skin.Title #else $temp_skin.Name #end
- #end
- </select>
- </td>
- </tr>
+#parse ("/portlets/html/customize-skin_row.vm")
<tr>
<td colspan="2">
<hr/>
</td>
</tr>
- <tr>
- <td><b>$l10n.CUSTOMIZER_SECURITY_REF</b></td>
- <td>
- <select name="_security_ref">
- <option value="">-- Default--
- #foreach ($security in $securitys)
- <option value="$security.Name" #if ($security.Name == $!security_ref)
SELECTED #end>
- #if ($security.Title) $security.Title #else $security.Name #end
- #end
- </select>
- </td>
- </tr>
+#parse ("/portlets/html/customize-securityref_row.vm")
<tr>
<td colspan="2">
<hr/>
@@ -56,7 +34,7 @@
<option #if ($config.getInitParameter($param.Name) == "true") SELECTED
#end>true
</select>
#else
- <input type="text" name="$param.Name" value="$!param.Value" >
+ <input type="text" name="$param.Name"
value="$config.getInitParameter($param.Name)" >
#end
</td>
</tr>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>