Hi,
I have created a table where one of the columns is a checkbox.
This table is part of a form, so when I submit it, I want to read the
values of those rows that are checked.

I am trying with the following code:

<% request.setAttribute( "test", new TestList(10, false) ); %>
<display:table name="test" >
  <display:column width="5" title="Check">
        <input type="checkbox" name="myc" value="<c:out value="${test.id}"/>" />
  </display:column>     
  <display:column property="id" title="ID" />
</display:table>

This is the error I get:

javax.servlet.ServletException: The "." operator was supplied with an
index value of type "java.lang.String" to be applied to a List or
array, but that value cannot be converted to an integer.


Can anybody help me with this?

Thanks,
Nicolas.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to