Re: trouble with displaytag paginated list
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Tuesday, September 16, 2008, 11:08:12 PM, [email protected] wrote: > 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. Um... what is the exact error message (with the trace if possible)? And I suppose "size" isn't a required attribute of "table". And what type it should have according the tag documentation? > --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=/ > _______________________________________________ > FreeMarker-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemarker-user -- Best regards, Daniel Dekany ------------------------------------------------------------------------- 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=/