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
             Fix For: SVN trunk


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.

Reply via email to