This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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??
posted 10 years ago
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.