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

Extending DataModel  RSS feed

joe black
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a DAO which populates 2 ArrayLists with objects that represent rows, and columnNames. I have these lists since the data I am getting is being returned from a web service where the column names can be anything. I dont know how many there will be. So I have to create a grid which shows all this dynamic data - rows, columnNames. I am using a 3rd party custom component.

Does anybody known of any examples of extending javax.faces.model.DataModel to create a datamodel that can be used by my grid object? Do components bind directly to this datamodel? I am new to JSF and still trying to figure out all this binding stuff.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!