> Hi,
>
> I wonder wether <h:dataTable> offers a attribute, similar to the
> "varStatus" attribute of JSTL's <c:forEach> or <c:forItems> loop? I need
> to include the current row index into the generated output.
No.
Anyway you can use databinding:
<h:dataTable binding="table"...>
...
Row index: <h:outputText value="#{table.rowIndex}"/>
</h:dataTable>
tomawhak has such a property AFAIK.
p.s.
I don't use binding usually, because it's quite a risk with session scoped
bean.
cicap - 08 Sep 2006 19:38 GMT
> <h:dataTable binding="table"...>
binding="#{bean.table}"....
Christoph Dahlen - 09 Sep 2006 08:49 GMT
cicap schrieb:
>> <h:dataTable binding="table"...>
> binding="#{bean.table}"....
Ah, finally understood the purpose of the binding attribute ...
Thanks
Gruss,
Christoph