Hi guys,
I am looking for some
pattern in
struts (taglib,..) for generation of beans that represent values changing over time.
Let's say you have bean
Then I have list of SomeBean objects, where each instance represent one year
Every example I have seen generate table in this format
year | value
2001 | 3242
2002 | 4564
2003 | 5656
etc.
f.ex. this one from
http://struts.improve-technologies.com/intro/index.html But I'd like to present this in this way
year | 2001 | 2002 | 2003
value| 3242 | 4564 | 5656
that is bean properties as rows not columns,
In this use case we know that we'll have list f.ex. 10 years, but we have many value properties in bean.
Do you have any tips how to achieve it in nice and elegant way?(by nice and elegant I mean layout:collection example)
regards,
milan