You must omit the "#{}" from your rowCountVar attribute.
"rowCountVar" defines the NAME of the scope variable and is NOT a
value reference attribute!
see http://myfaces.apache.org/tomahawk/extDataTable.html
And: Please use our users list for user questions. Dev list is ment
for discussions regarding MyFaces code itself.
Manfred
2005/12/27, Sébastien Marin <[EMAIL PROTECTED]>:
> Hello, i would to know how i can use the rowCountVar attribute of the
> dataTable.
> I try to put the var in the request in a Long format, Inerger and String. I
> always have an error :
>
> <x:dataTable renderedIfEmpty="false"
> id="listeElements"
>
> value="#{liste}"
> var="ligne"
> styleClass="listeElements"
> headerClass="head"
>
> rowClasses="line1,line2"
> columnClasses="colonneImage,
> colonneLibelle"
> rowCountVar="#{nbLignes}">
>
>
> Thank you.
>
> |Cordialement, Sébastien MARIN.|
> |------------------------------|
> |-> http://www.marin-s.com <-|
> |------------------------------|
>