If you have a list of items and you want to display them in a grid structure (e.g. a table), here's an example of usage for the h:panelGrid for a 4-column layout:
My notes on XML and web development - MarkLogic, xquery, xforms, xslt, xml schema, java, html, css, javascript, xssi and others.
3 comments:
You will get yourself into trouble using JSTL and JSF. Different lifecycles.
Also, since you are not binding that is a managed bean and not a backing bean.
Thanks for the clarification on that, Rockhopper!
I need to create a grid of homogeneous items, where the number of items is unknown. I want to use 3 columns, but the columns are undifferentiated (i.e. same type of items in each column). What's the best approach?
Post a Comment