struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferret Renaud (JIRA)" <>
Subject [jira] [Created] (WW-4129) Tag s:chekbox is very slow
Date Thu, 27 Jun 2013 09:04:19 GMT
Ferret Renaud created WW-4129:

             Summary: Tag s:chekbox is very slow
                 Key: WW-4129
             Project: Struts 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.3.15,
         Environment: Tomcat 7.0.37, Java
            Reporter: Ferret Renaud

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">
	<td class="center" width="3%">										
		<s:checkbox name="usersIdSelected" fieldValue="%{id}"/> 

	<td width="0%"><c:out value="${attr.item.fullName}"/></td>
	<td><c:out value="${}"/></td>
	<td><c:out value="${attr.item.cellularPhone}"/></td>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message