trouble with displaytag paginated list

[email protected]
Newsgroups gmane.comp.web.freemarker.user
Message-ID <OFF04C028C.F643384B-ON852574C6.00739BA1-852574C6.00741B85@tsys.com>
Hello,
I am trying to implement paging with displaytag, springweb-mvc and 
freemarker using the displaytag PaginatedList interface. What am I missing 
here (besides a clue)?

   <@display.table name="programs" id="programs" style="width:90%" sort=
"external"  requestURI="setupFees.htm?paging=true" pagesize=10  
export=false defaultsort=2 class="defaultTable" partialList=true >


                        PaginatedList programs =
                                progDelegate.searchByExample(protoProg, 
startRow, progRecsPerPage);
                        rVal.put("programs", programs);


Freemarker seems to be complaining about a missing attribute named "size". 
As a simple test I added size=20 to the above template and Freemarker 
started complaining about "size" refering to an Integer. So I figure I'm 
on the right track but there's something I'm not understanding.

--dlm

-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. The information may also constitute a legally
privileged confidential communication. If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message. Thank you 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.