I'm trying to display a table that looks something like this:
I'd like to do this using
Struts tags without using nested tables (because some user agents have difficulty with nested tables.) Any ideas in how to do this using Struts?
Two approaches I thought of:
1) I know how to do this if I know the # of grouped rows when I read each one. For example if I know there are two grouped rows, I can set the colspan to two. Do I need some kind of custom iterator to get access to this information?
2) Another way would be to store the data in a nested data structure. Then I could get the size of the nested list. But I'd need to get the first nested value separate from the rest of them.