[ 
https://issues.apache.org/jira/browse/TRINIDAD-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524629
 ] 

Tomas Havelka commented on TRINIDAD-677:
----------------------------------------

...I am sorry for that issue duplicates, but I created the issue once. Don't 
know why it created twice.

> 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.1-core, 1.0.2-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