Details
Description
I want to show multible checkbox, in an html table.
In my action I have an array of String, with its get/set.
In my JSP I have a s:iterator on an list of object (160 in my test page), inside this iterator I create the s:checkbox.
Creation of this is taking 2~4s, this is not normal it is far too slow, each checkbox takes between 16 and 32ms to build.
<s:iterator value="#request.domainUsers" var="item"> <tr> <td class="center" width="3%"> <s:checkbox name="usersIdSelected" fieldValue="%{id}"/> </td> <td></td> <td width="0%"><c:out value="${attr.item.fullName}"/></td> <td><c:out value="${attr.item.phone}"/></td> <td><c:out value="${attr.item.cellularPhone}"/></td> </tr> </s:iterator>