[
https://issues.apache.org/jira/browse/MYFACES-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul McMahan reopened MYFACES-1572:
-----------------------------------
still seeing the problem with getRows in generated UIData class. seems that
_rowsSet assignment needs to be in setRows() method in the template.
> 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
>
>
> 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.