It's interface GridDataSource.

What you may be missing is that Tapestry convieniently coerces
java.util.List to GridDataSource for you.  However if you connect the source
parameter of the Grid component to an actual GridDataSource, you can have
fine control over sorting and otherwise efficiently providing data to the
Grid.

On 10/20/07, Andy Huhn <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm a newbie, trying to learn T5.
>
> I have a grid component, but I don't want Tapestry to do the work of
> sorting/paging data in the grid component; I'd like to push that off to
> the database.  (The source of the data is a database accessed via
> Hibernate).  How can I do this?  I know that in T4, I could write a DAO
> class that implemented IBasicTableModel, and in that DAO class, I could
> put the logic to include the order by/paging in the query.  But I can't
> find anything similar to that in T5.  Please help?
>
> Thanks,
> Andy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

Reply via email to