the <h ataTable> tag in jsf is extremely good at rendering rows dynamically, but I want to render a report table for a choice question. In my use case, the number of rows are fixed: first row for choice lables and the second row for corresponding votes for each choice. Like this:
The columns to render should be decided in run time, according to how many choice items a quesiton has. And I want to bind a result Map<String, Integer> to the tag....I could of course write my custom renderer or even component to render it, but is there exsiting renderer to do this or any simple way using existing features of standard jsf library to achieve this? Thank you very much for your hint in advance!
Regards, Ellen [ June 27, 2006: Message edited by: Ellen Zhao ]
I wasn't selected to go to mars. This tiny ad got in ahead of me: