Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic dataTables within datatables  RSS feed

jack catler
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't even now if this is it?

My bean returns a list of objects. Each object represents an individual table and contains a column object for the headers, and a row object with elements. Plan is for the final page to contain a number of tables with column names and results. User then eyeballs the whole lot by scrolling up/down the page - i.e. page of tables each table having potential different columns and data.

I was thinking about creating two dataTables for each result object, one containing the column names, the other the data, all wrapped around an outer also..

I am quite new to JSF and am now wondering if it is possible given the dynamics of what I want to achieve. That is, I don't know the number of columns or their names.

Another option is to go to straight JSP and process....

Any opinions?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!