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

Hello,

I am experiencing and erratic pagination problem.  I create a JAVA list of 
objects
containing information to be displayed using Displaytag to display in 5 columns
and is stored and retrieved as a session variable.  The list could potentially
contain as little as 27 objects (that represent Lucene search hits) when the
issue occurs.  The issue occurs when I display Lucene 'term highlights' for
PDF documents ONLY.  Other document types seem unaffected by the issue.

When the list is displayed, pagination takes place correctly displaying the
first 10 items found with '27 items found' in the banners (top and bottom).
When I click page 2, the banner changes to '28 items found' (increasing the
total by one).  When I click page 3, 'items found' remains '28 items found'.
Clicking page 1 displays '27 items found' in the banner.

I've tried the following to resolve the issue with NO success :(

1. Downloaded and added Displaytag-1.1
2. Made displaytag in the JSP simple by removing allign, maxLength,and style

Here's my code:
<display:table name="sessionScope.list" pagesize="10" class = "displaytag" id
= "row" export = "false" excludedParams="ajax" >
<display:column sortable="true" property="score" title="Score" style = 
"width:5%"
maxLength = "5" />
<display:column sortable="true" title="File Name" media="html" style = 
"width:25%"
maxLength = "50"><a href="file:///${row.path}"
target="_blank">${row.fileName}</a></display:column>
<display:column sortable="true" property="lastModified" title="Last Modified"
style = "width:10%" />
<display:column sortable="false" property="highlightString" title="Term 
Highlights"
style = "width:60%" maxLength = "120" />
<display:column sortable="false" property="size" title="Size(KB)"/>        
<display:setProperty  name = "paging.banner.placement" value = "both" />
</display:table>

Any suggestions would be VERY helpful to me.  Thank you in advance!!


______________________________________________________________________
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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to