I want to use the rowIndexVar of a dataList in the binding attribute of
a another custom component via EL.
I get always a PropertyNotFoundException for this var.
snippet;
<t:dataList var="batch"
value="#{BatchController.batches}"
rowIndexVar="rowIndex"
layout="simple">
<t:outputText value="Test + #{rowIndex}"/>
<rm:statusBar binding="#{BatchController.statusBars[rowIndex]}" ...
javax.faces.el.PropertyNotFoundException: Index is null: rowIndex
But rowIndex is not null.
if I comment out my custom rm:tag then the rowIndex values are rendered
via t:outputText.
BatchController.getStatusBars returns a List.
What's going wrong here?
Michael