Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6111924
By: n1c0s

Hello,

I use the DisplayTag lib 1.0.2 to display a table of 2000 ~ 2500 row and 16
column.
I use the paging of 20 rows by page.
I don't use sort but I use decorator.

The problem is that displaytag seems to "prepare" alla the data instead of just
preparing the 20 rows to display.
And when I click on the next page all the 2500 rows seems to be prepared again
!

Is there a way to only "prepare" the 20 rows to display ?

Here is the code I use :

<displaytag:table style="padding: 2px; spacing: 2px; width: 100%; text-align:
center;"
        requestURI='<%= 
TagUtils.getUrlBase((HttpServletRequest)pageContext.getRequest())
+ "canalXHTML/visions/cofi/2-cofi.ea" %>' class="tableau" composedStyle="true"
        name="pageScope.activity.donneesCourantes.portefeuilleClients.asList" 
pagesize='<%=
Integer.parseInt(activity.getPropriete("RCF".equals(activity.getPortail()) ?
"NB_CLIENTS_RCF" : "NB_CLIENTS_IST")) %>' id="client"
        
decorator="fr.laposte.disf.a7.portefeuille.donnees.decor.ListeClientVisionCofiD
ecorator">
        <% if (activity.getFiltre().isActif())  {%> 
                <displaytag:column property="numeroCoche" title="" 
sortable="false"
group="1"/>
        <% } else { %>
                <displaytag:column property="numero" title="" sortable="false" 
group="1"/>
        <% } %>
        <displaytag:column property="rangAnnuel" title="Prior.<br/>Annu." 
group="2"/>
        <displaytag:column property="rangMensuel" title="Prior.<br/>Mois" 
group="3"/>
        <displaytag:column property="nomPrenom" title="Nom Pr&eacute;nom Client"
group="4"/>
        <displaytag:column property="age" group="5"/>
        <displaytag:column property="surfaceFinanciere" title="SF<br/>(&euro;)"
group="6"/>
        <displaytag:column property="profil" title="PP" group="7"/>
        <displaytag:column property="indicateur" title="Ind.<br/>Client" 
group="8"/>
        <displaytag:column property="dateEvenement" 
title="Date<br/>Ev&eacute;nement"
group="9"/>
        <displaytag:column property="dateDernierContact" 
title="Dernier<br/>Cont.
T&eacute;l." group="10"/>
        <displaytag:column property="dateDernierFaceAFace" title="Dernier<br/>F 
A F"
group="11"/>
        <displaytag:column property="dateRelance" 
title="Relance<br/>qualifi&eacute;e"
group="12"/>
        <displaytag:column property="contactAntenne" title="Cont<br/>Ant" 
group="13"
/>
        <displaytag:column property="libelleEvenement"
title="Ev&eacute;nement<br/>Conjoncturel" group="14"/>
        <displaytag:column property="libelleEcheance" title="Ech&eacute;ance" />
        <displaytag:column property="dateEcheance" title="Date" />
        <displaytag:column property="montantEcheance" 
title="Montant<br/>(&euro;)" />
</displaytag:table>

Thank you for your help....

Best regards,
Nicolas.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to