You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Gaudin Pierre (JIRA)" <ji...@apache.org> on 2007/07/19 10:22:04 UTC

[jira] Commented: (OFBIZ-1152) error in view-size used for paginate = "false" form

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

Gaudin Pierre commented on OFBIZ-1152:
--------------------------------------

Hi all,

Is there any body to have a look at this patch ?

This is a very simple but important fix.

Thanks

Pierre

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