Is your colPersonas the full collection of 21.000 items ? In this case, the size attribute is just right, but you have to give a partial list (name attribute), meaning a collection with size normally matching the pagesize number.
Yannick On 8/29/07, Pablo Fernández <[EMAIL PROTECTED]> wrote: > > Yes, I have already tried that as follows: > > This are the involved lines in my Struts Action: > sessionManager.setAttribute("colPersonas", colPersonas); // the > collection obtaind via mysql query. > sessionManager.setAttribute("tamanioColeccion", new > Integer(colPersonas.size())); // collection's size in session scope. > > This is the new display:table tag in the JSP: > > <display:table class="display" excludedParams="*" > id="adm.busquedaPersona.colPersonas" pagesize="20" > name="sessionScope.colPersonas" sort="external" partialList="true" > size="sessionScope.tamanioColeccion" requestURI="busquedaPersona.do" > style="width:98%" > decorator="conicet.apps.eva.web.administrador.decorator.CBusquedaPersonaWrapper"> > > But it gets hung, like loading the page that never appears... am I missing > something? > > Thanks! > > Pablo. > > Yannick Haudry escribió: > Hi Pablo, > > You should really consider using/implementing external paging... > http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html > > Yannick > > On 8/29/07, Pablo Fernández <[EMAIL PROTECTED]> wrote: > > > Hello, I have a collection of about 21.000 rows to display via display > tag. It's taking displaytag about 2 minutes to render the page (first > time it's loaded), is there any way to make this better? I'm using > displaytag 1.1. > > Here's the JSP code: > > <display:table class="display" excludedParams="*" > id="adm.busquedaPersona.colPersonas" pagesize="20" > name="sessionScope.colPersonas" requestURI="busquedaPersona.do" > style="width:98%" > decorator="administrador.decorator.CBusquedaPersonaWrapper"> > <display:setProperty name="paging.banner.placement" value="both"/> > <display:column property="categoriaW" title="Categoría" > sortable="true" style="align:center"/> > <display:column property="legajoW" title="Legajo" > sortable="true" style="align:center"/> > <display:column property="nomapW" title="Apellido y Nombre" > sortable="true" style="align:center"/> > <display:column property="tipoNroDocW" title="Tipo y Nro Doc." > sortable="true" style="align:center"/> > <display:column property="cuilW" title="Cuil" sortable="true" > style="align:center"/> > <display:column property="estadoW" title="Estado" > sortable="true" style="align:center"/> > <display:column property="verW" title="Ver" sortable="false" > style="align:center"/> > </display:table> > > Thanks in advance! > > Pablo. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user