File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Auto tabbing within struts iterate using js Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Auto tabbing within struts iterate using js" Watch "Auto tabbing within struts iterate using js" New topic

Auto tabbing within struts iterate using js

Mike Graber

Joined: Dec 10, 2008
Posts: 3
I have implemented autotab.js with text from but I can not get it to work within logic iterate. I've tried a varity of combination with the below

<logic:iterate id="fLineList" name="fLineList" indexId="index">
<td> <html:text name="fLineList" property="fund"size="4" maxlength="4" indexed="true" styleClass="tableentry"
on key down="TabNext(this,'down',4)"
on key up="TabNext(this,'up',4,this.form.bfy)"/>
<td> <html:text name="fLineList" property="bfy" size="4" maxlength="4" indexed="true" styleClass="tableentry"/></td>
<td colspan="8"><div class="error"><html:errors property="<%="fLineList[" + index + "].errorMessage" %>" /></div></td>

jQuery in Action, 2nd edition
subject: Auto tabbing within struts iterate using js
Similar Threads
Ajax, Struts, and a few pesky event based issues
JSP Action Buttons freez after returning from ajax call
Submitting an Array of Forms in Struts
using Multiple submit buttons.
problem with <logic:iterate> and with onload function in javascript