Please email email@example.com for info on how to arrange customized courses on JSF 2.2, PrimeFaces, Spring MVC, Java 8, Android programming, jQuery/Ajax, and other Java EE topics onsite at YOUR location.
What do you do when the business logic creates an array or list of varying length? One approach is the one covered here: to use ui:repeat (very similar to JSTL) to do the loop in the results page. But there are alternative approaches covered in other sections. See http://www.coreservlets.com/JSF-Tutorial/jsf2/ for the complete tutorial series, associated code, exercises, and exercise solutions. You can also download PDF files of each lecture, for saving or printing.