JSF 2.0: Options for Dealing with Variable-Length Results Data

The following examples illustrate some of the alternatives in action. The tutorial section surveys the pros and cons of each approach in various circumstances, then gives details on the ui:repeat option.










This code is from the coreservlets.com JSF 2.0 tutorial. There is also a variety of other free J2EE tutorials (servlets, JSP, JSF 2.0, PrimeFaces, Ajax [with jQuery], GWT, Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, Android development, Hadoop, & Java 6 and Java 7 programming) as well as live instructor-led training courses on the same J2EE topics (servlets, JSP, JSF 2.0, PrimeFaces, Ajax [with jQuery], GWT, Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, Android development, Hadoop & Java 6 and Java 7 programming).