This is possible with the MyFaces extended Datatable component
On Mon, 20 Dec 2004 19:45:42 +0100, Borja Mart�n <[EMAIL PROTECTED]> wrote:
> hi,
> is it possible to get the index number for each row while rendering the
> dataTable in the jsp page?
> I have the following code in the jsp page:
> <h:dataTable
> id="images"
> value="#{images.list}"
> var="image">
> <h:column>
> <h:outputText value="#{images.list.rowIndex" />
> </h:column>
> </h:dataTable>
>
> it will display in each row a 0 for the rowIndex value
>
> thanks in advance
>
>
--
-Heath Borders-Wing
[EMAIL PROTECTED]