You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Manfred Geiler <ma...@gmail.com> on 2006/01/10 14:19:25 UTC
Re: Row count var in dataTable
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 <th...@free.fr>:
> 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 <-|
> |------------------------------|
>