voyent
Multiple dataTables on one page (List of Lists)  XML
Forum Index -> General Help
Author Message
thecaptain1977


Joined: 02/Mar/2008 00:00:00
Messages: 6
Offline


I have an interesting predicament where I need to iterate a list of lists on the page and for each sub list, display a dataTable. When I try and iterate the list via ui:repeat and then create a dataTable for each of my sublists, a new dataTable is not created for each one. It seems to lump the data for each of the sublists in the same list. Anyone know how I can do this using JSF components? Or do I need to make some sort of custom component?

Thanks,

Keith

Keith Morgan
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Yes, I've seen the same problem with ui:repeat and dataTable.
Try to replace ui:repeat with <ice:panelSeries>. They have both value and var attributes, but panelSeries is a jsf component, whereas ui:repeat is a facelets tag, and i think it causes some wrong var resolving in this particular combination as a consequence of being handled by the facelets view handler.

Eduard Korenschi
thecaptain1977


Joined: 02/Mar/2008 00:00:00
Messages: 6
Offline


Great, thanks! I will give this a try and report back.

Keith Morgan
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team