Thank you Howard, that's exactly what I needed!

Andy

On Sat, 2007-10-20 at 23:26 -0700, Howard Lewis Ship wrote:
> 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]
> >
> >
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to