Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom DataTable component  RSS feed

 
Rich Carl
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a custom component that is much like a dataTable. The component extends UIData class.

So it looks something like this



In the CustomComponent.class, I can call the getDataModel()/getRows() method from UIData and get the entire person.list. But I don't get a list of just the person.names. Is this the expected behaviour? The entire data structure(person.list) is available to the component and not what is in the child components??
 
Brian Smith
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if this makes a difference but it may help to name your var something other than "person" since that is also the name of your managed bean.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!