File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How do i access Arraylist values in DynaValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How do i access Arraylist values in DynaValidatorForm" Watch "How do i access Arraylist values in DynaValidatorForm" New topic
Author

How do i access Arraylist values in DynaValidatorForm

yan yan
Greenhorn

Joined: Aug 01, 2007
Posts: 16
Hi,

How do i populate an indexed-property textbox in DynaValidator Form?
Here's my code snippet. I tried to do this but doesnt work:



<logic:iterate id="certification" name="applicantForm" property="certification" indexId="index">
<tr>

<td>
<html-el:text readonly="true" size="1" indexed="true" name="certification" property="certificationID" value="${index+1}"/>

</td>
<td><html-el:text size="50" indexed="true" name="certification" property="certification" value="${certification.certification}"/></td>
<td><html-el:text size="10" indexed="true" name="certification" property="yearObtained" value="${certification.yearObtained}"/></td>

</tr>
</logic:iterate>

thanks a lot,
ianne
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How do i access Arraylist values in DynaValidatorForm