[ 
https://issues.apache.org/jira/browse/OFBIZ-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reassigned OFBIZ-1152:
--------------------------------------

    Assignee: Jacques Le Roux

> 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
>
>         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.

Reply via email to