Hi list, This isnt so much a question, it's more that i'd like to hear your thoughts on the following. I'm making an webapp that shows a number of pivot tables or crosstables. Most repeaters are made for showing a list of objects, where each row is one object. While in a crosstab there is no connection between the values in one row except that they have the same y-coordinate. So to make things easier for myself and to have the webcomponents better reflect the nature of my data, i have used Loop() drawing on this: https://cwiki.apache.org/WICKET/how-to-work-with-excel-in-wicket-using-jexcel-api.html. The object that holds my data has methods to add a value (put(Pair coordinates, Number value)), to retrieve a value given the coordinates and to get the domain (= the rows and columns or distinct x and y values if you will).
So now in addition to the raw data i want some tables to show totals, averages, and some other computed columns. I'm wondering what would be a good place to do this. Add them to the modelobject (the dataobject) in the panel that shows the table? Only add the extra columns to the table? I'm thinking that in the future i might give users the option to show or hide these computed columns. cheers Ivana --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
