[ https://issues.apache.org/jira/browse/OFBIZ-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513877 ]
Jacques Le Roux commented on OFBIZ-1152: ---------------------------------------- Mmm, I should have forgot another patch I was reviewing and get caught for any reason. I will revert to previous and reapply the patch correctly (in release too). Sorry for that folks, and thanks for your awareness David. > error in view-size used for paginate = "false" form > ---------------------------------------------------- > > Key: OFBIZ-1152 > URL: https://issues.apache.org/jira/browse/OFBIZ-1152 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Gaudin Pierre > Assignee: Jacques Le Roux > Fix For: SVN trunk, Release Branch 4.0 > > Attachments: defaultViewSize.patch > > > If paginate is set to false then wiev-size is never used. Only > DEFAULT_PAGE_SIZE is used. > 1/ in init() Modelform wiev-size is getting : > setDefaultViewSize(formElement.getAttribute("view-size")); > =>OK > 2/ this value is set to defaultViewSize > defaultViewSize = sz.intValue(); > => OK > 3/ in getListLimits() Modelform if paginate is false then DEFAULT_PAGE_SIZE > is used and not defaultViewSize > viewSize = DEFAULT_PAGE_SIZE; > => KO -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.