Hi,

 

Supose you define your tag this way:

 

<display:table … pagesize="<%= ((Integer)request.getAttribute("pageSize")).intValue() %>" ….>

 

In your Action you have to include in the request the value of ‘pageSize’:

 

request.setAttribute("pageSize",new Integer(iPageSize));

 

In that way everything goes.

 

Hope this help.

 


De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Neelima Madhavaram
Enviado el: viernes, 17 de febrero de 2006 13:56
Para: [email protected]
Asunto: RE: [displaytag-user] Custom Pagesize

 

Hi David,

Thanks for the reply. Can you explain in detail? Supposing  I have pagie size value stored in a variable, will it work if  I use <display:table pasesize="<%=var%>" .......>

I didn't understand what you meant exactly?

Thanks
Neelima


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL.

The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.

Reply via email to