Eu Gene - 2004-12-02

How about having displaytag render implementations of the following interface? This will allow scrollable resultsets and other custom data retrieval methods to be used with displaytag.

CustomRowDataSource will be an interface encapsulating the collection to be displayed, with the following methods:

/ go to next row, return true if has next row, false otherwise /
public abstract boolean next();

/ return the row marked by the cursor /
public abstract Object getRow();

/ return the total number of results /
public abstract int getTotalResults();

/ navigate cursor to the appropriate row /
public abstract void goToRow(int rowNumber);