You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Renzo Tomaselli <re...@tecnotp.it> on 2008/01/14 13:39:34 UTC

[Trinidad] tr:table rowIndex should be zero-based

Hi, AFAIK rowIndex is always zero-based.
But in SelectRangeChoiceBarRenderer .java - near line 374 - we have:

        hasNextRecords = isRowAvailable(component, (int)nextValue);

where nextValue = currentValue + blockSize.
In this context, currentValue is one-based, thus there should be a 
displacement in asking the model for row availability.

-- Renzo