[
https://issues.apache.org/jira/browse/MYFACES-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484691
]
Paul McMahan commented on MYFACES-1572:
---------------------------------------
correction -- I meant to say the patch moves assignment of _rowsSet to the
*setRows()* method
> getFirst() and getRows() methods in UIData don't return correct values
> ----------------------------------------------------------------------
>
> Key: MYFACES-1572
> URL: https://issues.apache.org/jira/browse/MYFACES-1572
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-252
> Affects Versions: 1.2.0-SNAPSHOT
> Reporter: Paul McMahan
> Assigned To: Matthias Weßendorf
> Priority: Critical
> Fix For: 1.2.0-SNAPSHOT
>
> Attachments: MYFACES-1572.2.patch
>
>
> UIData data = new UIData();
> data.setFirst(1);
> data.getFirst(); // returns 0
> data.setRows(1);
> data.getRows(); // returns 0
> Looks like there may be a bug in the code generator. The setFirst() and
> setRows() methods should be assigning _firstSet=true and _rowsSet=true.
> Maybe there is some way to influence this behavior in UIData's template?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.