Hello,

The problem is the size parameter. This parameter is a String type as you could 
see in the documentation:

Size : Reference to the Integer object containing the size of the total 
dataset. Can be an expression like requestScope.object.property.

Hope this helps.

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Dlanor
Enviado el: viernes, 10 de febrero de 2006 10:24
Para: [email protected]
Asunto: [displaytag-user] DisplayTag 1.1 - external paging/sorting


Hello all.

First of all to the creators of DisplayTag: my compliments. In one word
fantastic!
I want to use it for a project I work on right now and especialy use the 1.1
feature of external paging/sorting, but I keep getting an error in the
browser.
First of all I have a Collection which I change into my implementation of
PaginationList. When the jsp is compiled if says I have to provide the size 
attribute, but I do that already.
Maybe I'm doing something wrong so I included my sources below for you to
have a look at and hopefully someone can help me with this problem.

error message: 
javax.servlet.jsp.JspTagException: You must specify one of the following:
size
        at org.displaytag.tags.TableTag.initParameters(TableTag.java:961)
        at org.displaytag.tags.TableTag.doStartTag(TableTag.java:721)
        at
_jsp._web_22dinf._jsp._clientdomain._listclientdomains__jsp._jspService(WEB-INF/jsp/clientdomain/listClientDomains.jsp:74)


The code in the jsp is: 

< display:table name="model.clientDomains" size="6" partialList="true"
pagesize="2" requestURI="/listClientDomains.html">
        < display:column property="name" sortable="true" sortName="name" />
        < display:column property="label" />
        < display:column property="properties" />
< /display:table>

Hope someone can help me with this real soon.
THNX!

--
View this message in context: 
http://www.nabble.com/DisplayTag-1.1---external-paging-sorting-t1098055.html#a2866591
Sent from the DisplayTag - General forum at Nabble.com.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-------------------------------------------------------------------------------------------------------------------
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.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to