You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ha...@apache.org on 2008/06/15 02:05:15 UTC
svn commit: r667905 -
/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html
Author: hazems
Date: Sat Jun 14 17:05:15 2008
New Revision: 667905
URL: http://svn.apache.org/viewvc?rev=667905&view=rev
Log:
Promoting the selectManyPicklist component.
Added:
myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html
Added: myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html?rev=667905&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html (added)
+++ myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/picklist/resource/testx.html Sat Jun 14 17:05:15 2008
@@ -0,0 +1,53 @@
+<html>
+ <head>
+ <script type="text/javascript" src="picklist.js"></script>
+ </head>
+ <body>
+ <span>PICKLIST TEST</span>
+
+ <table border="0">
+ <tr>
+ <td><select size="4" multiple="true"
+ id="availableOptions"
+ name="availableOptions">
+ <option value="option1">
+ option1
+ </option>
+
+ <option value="option3">
+ option3
+ </option>
+
+ <option value="option5">
+ option5
+ </option>
+
+ <option value="option7">
+ option7
+ </option>
+ </select> </td>
+
+ <td valign="top">
+ <button onclick="myfaces_picklist_addToSelected('availableOptions', 'selectedOptions')">
+ ></button>
+ <br>
+ <button onclick="myfaces_picklist_removeFromSelected('availableOptions', 'selectedOptions')">
+ <</button>
+ </td>
+
+ <td><select size="4" multiple="true"
+ id="selectedOptions"
+ name="selectedOptions">
+ <option value="option2">
+ option2
+ </option>
+
+ <option value="option4">
+ option4
+ </option>
+ </select> </td>
+ </tr>
+ </table>
+
+ </body>
+</html>