Re: Best way to create a simple database display application?

2011-02-18 Thread Lenny Primak
not something with that sophistication but it does have similarities yes. On Feb 18, 2011, at 9:09 AM, Mark wrote: >> 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? > > So basically you want to create something

Re: Best way to create a simple database display application?

2011-02-18 Thread Mark
> 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? So basically you want to create something like PHPMyAdmin in Tapestry? Mark - To unsubscribe, e-mai

Re: Best way to create a simple database display application?

2011-02-18 Thread Thiago H. de Paula Figueiredo
You'll also need to provide your own PropertyConduit implementation and instances for BeanModel.addProperty(String, PropertyConduit), one for each column in your result set: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/PropertyConduit.html. I guess you can create a single

Re: Best way to create a simple database display application?

2011-02-18 Thread Ulrich Stärk
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/a

Best way to create a simple database display application?

2011-02-18 Thread Lenny Primak
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 i