Wednesday, 18 September 2013

JSF 2 display List values in 2 columns

JSF 2 display List values in 2 columns

I am a newbie in JSF. I am using JSF 2 and there is a list being populated
by my bean file. In my .xhtml file, I want to display this information as
2 columns.
In bean class List modules;(Contains module.enable module.name)
The list has say 30 modules. I want to display all these modules
information in 2 columns. For eg: I want to display first module
information(module.enable module.name) in one column and the second in
second column. Or it can be first 15 modules in first column and the
remaining 15 in second column. Tried with both h:dataTable and h:panelGrid
but couldn't get it working.
Any help would be highly appreciated.
Thanks Shyju

No comments:

Post a Comment