Have a look at GridDataSource [1] and BeanModel [2]. Your own implementation of GridDataSource will be responsible for fetching ResultSets from the database while your BeanModel implementation will handle the presentation of a ResultSet.
Uli [1] http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/grid/GridDataSource.html [2] http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/beaneditor/BeanModel.html On 18.02.2011 09:24, Lenny Primak wrote: > I am very new to Tapestry. > > Basically, my requirement is for the user to pick a SQL query from the list > and > have it displayed in a grid, using tapestry. > Some of the queries would perhaps need an in-place edit as well > as pagination. Could be up to 5,000 rows there. > Most of the queries are similar in nature, but result fields are different. > > All the examples that I see so far use O/R model of some kind. > Since there is no business logic at all here, it doesn't make sense > to create a whole bunch of data objects for these queries. > > What i am really looking for is to display/edit a JDBC ResultSet on a web page > What do you think is the best way to do this? > > Thanks > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org