this will give a line number on af:table
it's easy. follow this steps :
just right click on the table
add a column anywhere you need them
on table properties, set varStatus dengan vs
on the label column properties, set value to #{vs.index+1}
thanks to Mohammad Jabr on http://mjabr.wordpress.com/2011/06/03/display-row-number-in-aftable/