UI components in JSF can be associated with JavaBeans through value reference expressions. These expressions
are a subset of the JSTL 1.0 / JSP 2.0 expression language (EL). Unfortunately, the EL doesn't currently
support indexed properties. A workaround is to return a collection of objects:
public class RandomBean
{
public Item[] getItems() { ... }
public void setItem(int n, Item item) { ... }
}
This allows you to access the property items with the value reference "randomBean.items[0]".