Hi all,

I discovered displaytag recently and I think it's a great component.  I
really like the fact that it's not tided to any MVC framework.

My question is, can displaytag perform page navigation (and sorting) by
going to the database to retrieve data instead of performing
pagination/sorting in memory (through the use of session variable)?

I have a business method that return a generic search result like the
following:

public class SearchResult {

private Collection results;
private long totalSize;
private int pageSize;
private int currentPage;
private boolean isAscending;
private String sortColumn;
private boolean isFirstPage;
private boolean isLastPage;

// getters and setters omitted for clarity
}

I searched the archive on SourceForge and I vaguely saw a patch that allowed
similar functions but I couldn't find it anymore.

The function is similar to htmltable's "live table 1" :
http://htmltable.yuriy-zubarev.com/jsp/index.jsp


TIA for your help,

Vincent


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to