aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Auto tabbing within struts iterate using js" Watch "Auto tabbing within struts iterate using js" New topic
Author

Auto tabbing within struts iterate using js

Mike Graber
Greenhorn

Joined: Dec 10, 2008
Posts: 3
I have implemented autotab.js with text from http://www.mattkruse.com/javascript/autotab/source.html 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">
<tr>
....
<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>
<td> <html:text name="fLineList" property="bfy" size="4" maxlength="4" indexed="true" styleClass="tableentry"/></td>
....
</tr>
<tr>
<td colspan="8"><div class="error"><html:errors property="<%="fLineList[" + index + "].errorMessage" %>" /></div></td>
</tr>
</logic:iterate>


Petruch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto tabbing within struts iterate using js