alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td class="tdLabel"> <td> <table> <tr> <tr> </table> </td> </tr> </table> </form> <script type="text/javascript"> var containingForm = document.getElementById("myAction"); StrutsUtils.addEventListener(containingForm, "submit", function(evt) { var updownselectObj = document.getElementById("myAction_myUpDownSelectTag"); selectAllOptionsExceptSome(updownselectObj, "key", ""); }, true); </script>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts Formtag-11.txt source code file:

Struts example source code file (Formtag-11.txt)

This example Struts source code file (Formtag-11.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

utf-8, utf-8

The Struts Formtag-11.txt source code

<script type="text/javascript" src="/struts/xhtml/validation.js">
<script type="text/javascript" src="/struts/utils.js">
<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8" onreset="clearErrorMessages(this);clearErrorLabels(this);">
<table class="wwFormTable"> 
<select name="myUpDownSelectTag" size="5" id="myAction_myUpDownSelectTag" multiple="multiple"> </select> <input type="hidden" id="__multiselect_myAction_myUpDownSelectTag" name="__multiselect_myUpDownSelectTag"value=""/> </td>
 <input type="button" value="^" onclick="moveOptionUp(document.getElementById('myAction_myUpDownSelectTag'), 'key', '');" />   <input type="button" value="v" onclick="moveOptionDown(document.getElementById('myAction_myUpDownSelectTag'), 'key', '');" />   <input type="button" value="*" onclick="selectAllOptions(document.getElementById('myAction_myUpDownSelectTag'), 'key', '');" />  </td>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.