This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
JSF has a media-independent View Definition Language. So using raw HTML in a JSF View Template is not something I recommend.
I definitely don't recommend coding logic constructs such as loops on a View definition. For tabular displays, JSF has special tags that treat collections of objects as the 2-dimensional objects that they really are, not as programming constructs.
You need to sit down with a good introductory JSF book.
Customer surveys are for companies who didn't pay proper attention to begin with.