I\'ve been using ui:repeat to generate tables. With ui:repeat it\'s easy to get the rows numbered using the varStatus. I\'m depending on the row id\'s from varS
varStatus
Just bind the table to the view itself instead of to a bean.
<h:dataTable binding="#{table}" ...>
Then you can use #{table.rowIndex} where necessary. E.g.
#{table.rowIndex}
<h:column>#{table.rowIndex + 1}</h:column>