File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Problem in DataTable List Iteration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Problem in DataTable List Iteration" Watch "Problem in DataTable List Iteration" New topic
Author

Problem in DataTable List Iteration

Rakesh Guggilam
Greenhorn

Joined: Jan 18, 2012
Posts: 1
I am facing a problem with dataTable iteration in xhtml page.
I have a List which consist of VO’s (List<VO>). This VO has different List<String>.

Example :
Class VO{
List1<String>
List2<List<String>>
}

When I am trying to display the lists in the VO using rich:dataTable, it’s not displaying. But if the VO has strings, its displaying. Please help on this.

I am displaying like this.


If the value in the rich datatable is taken from parameter var(from the nested table), facing this problem. If we take the value directly instead of vo.List2 from the bean(example: bean.voList1), I am not facing this problem. But this wont benefit for displaying nested datatables.

Please help me how to display nested datatables
 
IntelliJ Java IDE
 
subject: Problem in DataTable List Iteration
 
Threads others viewed
Header, Footer with dynamic data
Rich:Columns
Could a datatable has two footer rows? how to do that?
How to make Expression Language dynamically
RichFaces: dataList/dataTable/columns local vars unaccessable
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture