I am trying to add checkboxes in table column and unable to do so.
need to send a boolean value when the checkbox is checked otherwise false.
*************************************************
Created a bean for each row in the table
Have a bean Employee
firstName
lastname
.....
Boolean isHandicap;
==============================================
Have a Formbean
.......
List<Employee> emps = new ArrayList<Employee>();
===============================================
JSP
loop thru the list
<table .....>
<c:foreach var="empItr" items="${formbean.emps}">
<td>......</td>
<td>......</td>
<td> <html:checkbox name="formbean" property="empitr.isHandicap"></td>
</c:foreach>
</table>
Getting error in the page near the html:checkbox. How to do this? your help is
appreciated.
Thanks.
_________________________________________________________________
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:102009