Simplest case, no columns
Amount | Project | Count | Task | City |
---|---|---|---|---|
128.0 | Army | 0 | Lorem amet aliquyam sea | Roma |
809.0 | Army | 0 | tempor dolor elitr invidunt | Olympia |
951.0 | Arts | 8 | sed sea accusam erat | Carthago |
216.0 | Gladiators | 2 | et clita consetetur diam | Carthago |
27.0 | Taxes | 1 | sit labore et elitr | Roma |
985.0 | Taxes | 9 | gubergren diam et accusam | Neapolis |
The simplest possible usage of the table tag is to point the table tag at a java.util.List implementation and do nothing else. The table tag will iterate through the list and display a column for each property contained in the objects.
Typically, the only time that you would want to use the tag in this simple way would be during development as a sanity check. For production, you should always define at least a single column.