Displaying Hierarchical Table Data Design Question
Please can any expert designers and JSC user help with this query.
I have currently in the process of redesiging an application for company. The application creates and displays quotes. The current version uses Servelets to generate pages, and the company wants to move to Java Studio Creator to make changes easier.
Currenty there is a page I'm having a bit of trouble with is a one which is one which displays a list of users' quotes grouped by a project. In the current solution it generates number of tables of built with a table for each project, and it's associated quotes. i.e. something like:
for every project
start table
for every quote inthis project
add quote data to table row
end table
The easy way of displaying data in JSC is to use a table component, and bind it to a dataset. I'd like to use this component if possible, however, I'm not sure how you would add these tables to a page dynamically (as there may be many projects associated with a user), as well as generating the multiple queries with the data providers. I was considering page fragments, but I'd still have the problem of dynamically adding fragments.
The maybe another way of approaching this, such sticking a loop in the jsp code, and writing data sets that way, but that may deviate from the simplicity of adding a column to a table quickly (one of the reasons we are using JSC). If anyone could help or has any suggestions to a redesign, I'd be very greatful.

