You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by dd...@apache.org on 2007/01/11 20:20:52 UTC
svn commit: r495339 [2/2] - in /struts/struts2/trunk:
apps/showcase/src/main/java/org/apache/struts2/showcase/
apps/showcase/src/main/resources/ apps/showcase/src/main/webapp/tags/ui/
core/src/main/java/org/apache/struts2/components/ core/src/main/java...
Propchange: struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/InputTransferSelectTagTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/InputTransferSelectTagTest.java
------------------------------------------------------------------------------
svn:keywords = Id Author Date Rev
Added: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt?view=auto&rev=495339
==============================================================================
--- struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt (added)
+++ struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt Thu Jan 11 11:20:51 2007
@@ -0,0 +1,23 @@
+<tr>
+ <tdclass="tdLabel"></td>
+ <td>
+ <scriptlanguage="javascript"src="/struts/inputtransferselect.js"></script>
+ <tableborder="0">
+ <tr><td><input type="text" name="collection_input" id="collection_input"/></td>
+ <td valign="middle"align="center"><inputtype="button"value="->"onclick="addOption(document.getElementById('collection_input'),document.getElementById('collection'))"/>
+ <br/><br/>
+ <input type="button"value="<-"onclick="removeOptions(document.getElementById('collection'))"/>
+ <br/><br/>
+ <inputtype="button"value="<<--"onclick="removeAllOptions(document.getElementById('collection'))"/>
+ <br/>
+ <br/>
+ </td>
+ <td>
+ <selectname="collection"size="5"id="collection"multiple="multiple">
+ <optionvalue="ItemOne"selected="selected">ItemOne</option>
+ <optionvalue="ItemTwo"selected="selected">ItemTwo</option></select>
+ <inputtype="button"onclick="moveOptionDown(document.getElementById('collection'),'key','');"value="v"/>
+ <inputtype="button"onclick="moveOptionUp(document.getElementById('collection'),'key','');"value="^"/>
+ </td></tr>
+ </table>
+</td></tr>
\ No newline at end of file