You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/09/24 17:44:50 UTC
[jira] Resolved: (TRINIDAD-676) Component selectRangeChoiceBar not
properly rendered (2nd issue)
[ https://issues.apache.org/jira/browse/TRINIDAD-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Winer resolved TRINIDAD-676.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.3-core
Assignee: Adam Winer
Checked in patch, thanks!
> Component selectRangeChoiceBar not properly rendered (2nd issue)
> ----------------------------------------------------------------
>
> Key: TRINIDAD-676
> URL: https://issues.apache.org/jira/browse/TRINIDAD-676
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.0.1-core, 1.0.2-core
> Reporter: Tomas Havelka
> Assignee: Adam Winer
> Fix For: 1.0.3-core
>
>
> 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.