You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/06/23 19:56:05 UTC
svn commit: r787766 -
/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm
Author: sabob
Date: Tue Jun 23 17:56:04 2009
New Revision: 787766
URL: http://svn.apache.org/viewvc?rev=787766&view=rev
Log:
changed picklist to render xhtml
Modified:
incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm
Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm?rev=787766&r1=787765&r2=787766&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.htm Tue Jun 23 17:56:04 2009
@@ -27,7 +27,7 @@
#end
<tr>
<td width="50%">
- <select id="${id}_unselected" size="$height" style="width:100%;" multiple
+ <select id="${id}_unselected" size="$height" style="width:100%;" multiple="multiple"
#if($readOnly || $disabled)
disabled="disabled"
#end
@@ -45,28 +45,28 @@
#if($readOnly || $disabled)
disabled="disabled"
#end
- /><br>
+ /><br/>
<input type="button" value="<" style="width:60px;"
onclick="pickListMove($id, ${id}_unselected, ${id}_hidden, false)"
#if($readOnly || $disabled)
disabled="disabled"
#end
- /><br>
+ /><br/>
<input type="button" value=">>" style="width:60px;"
onclick="pickListMoveAll(${id}_unselected, $id, ${id}_hidden, true)"
#if($readOnly || $disabled)
disabled="disabled"
#end
- /><br>
+ /><br/>
<input type="button" value="<<" style="width:60px;"
onclick="pickListMoveAll($id, ${id}_unselected, ${id}_hidden, false)"
#if($readOnly || $disabled)
disabled="disabled"
#end
- /><br>
+ /><br/>
</td>
<td width="50%">
- <select id="$id" size="$height" style="width:100%;" multiple
+ <select id="$id" size="$height" style="width:100%;" multiple="multiple"
#if(!$valid)
class="error"
#end
@@ -81,13 +81,14 @@
#end
</select>
</td>
+</tr>
</table>
-<select id="${id}_hidden" name="$name" style="display: none;" multiple>
+<select id="${id}_hidden" name="$name" style="display: none;" multiple="multiple">
#foreach($item in $options)
<option value="$format.html($item.get("option").value)"
#if($item.get("selected"))
- selected
+ selected="selected"
#end
>$format.html($item.option.label)</option>
#end