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/17 10:04:04 UTC
[jira] Updated: (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:all-tabpanel ]
Gaudin Pierre updated OFBIZ-1152:
---------------------------------
Attachment: defaultViewSize.patch
here is the patch from revision 556832
> 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.