Hi,

I use a t:dataTable in a JSF web application. I set rowIndexVar="rowIndex"
and it works when I access the rowIndex in a column:
<h:column>
        <f:facet name="header">
                <h:outputText value="Id" style="margin-left: 5px" />
        </f:facet>
        <h:outputText value="#{rowIndex + 1}" />
</h:column>

But when I try to use this in a javascript method nothing happens:
rowOnMouseOver="rowColor('#{rowIndex}')"

Do I have errors in my code or this is not possible?

-- 
View this message in context: 
http://www.nabble.com/Problem-with-dataTable-tp24953809p24953809.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to