• Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested use of var/value

 
Stefan Mohr
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect the answer is no, but perhaps someone can give me the final answer, as I haven't been able to turn up much in searches:

I'm trying to create a datagrid inside an arbitrary number of page components. Basically:



In my backing bean, my users are stored in an ArrayList. Each user then contains their own ArrayList of jobs that they have.

Is there a tidy way to extract a collection of objects from within that iterated "var" I've already defined?

Thanks for any pointers!
 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understood your question correctly, you need nested datatables and I dont see any problem in having one.
I have successfully used t:datatable and t:datalist components of MyFaces in my project; in fact I also have dynamic number of columns(t:columns) combined with nested datatable in one of my pages.
Search for nested datatables in this forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!