Component selectRangeChoiceBar not properly rendered (2nd issue)
----------------------------------------------------------------

                 Key: TRINIDAD-677
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-677
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.2-core, 1.0.1-core
            Reporter: Tomas Havelka


Another issue with selectRangeChoiceBar and not known model row count. As I 
see, SelectRangeChoiceBarRenderer rendering routine is one-indexed, but model 
is zero-based. Then when searching for next value by asking model's 
isRowAvailable method, value has to be decreased.

Solution:
Modify encodeAll method on line 374 of SelectRangeChoiceBarRenderer like this.

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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to