You need something to iterate over, e.g.:
to make sure that the data table renderer can iterate over a certain list of beans. The "var" attribute is required only if you want to use the beans within the columns of your table.
I compared my code with the one in book. Core JSF . I dont see any difference!
Don't know the book. But I can't imagine that they're using a data table without an iterator. Are you sure you didn't want to draw a panel grid?
[ June 02, 2006: Message edited by: Florian Steinsiepe ]