[
https://issues.apache.org/jira/browse/OFBIZ-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671801#action_12671801
]
Jacopo Cappellato commented on OFBIZ-2175:
------------------------------------------
paginate-size-field and paginate-index-field are used to set the *names* of the
variables (fields) that contain the size (e.g. 3) and page index (e.g. 2)
Jacopo
> paginate-size-field and paginate-index-field on lists
> -----------------------------------------------------
>
> Key: OFBIZ-2175
> URL: https://issues.apache.org/jira/browse/OFBIZ-2175
> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Fix For: SVN trunk
>
> Attachments: ModelForm.java.patch
>
>
> When adding parameters like those two in the definition of a list
> paginate-size-field="3"
> paginate-index-field="2"
> The results shown are not those that we want, because there are no changes on
> the interface.
> In this example, we want to have 3 results per page and start on the 2nd page.
> Moreover the URL shown in the address bar is not the same as the other
> screens (3_1=10&2_1=1), where they are with VIEW_SIZE_1=3&VIEW_INDEX_1=2, for
> example.
> This patch on the ModelForm.java file, made by 4 trainees, will correct the
> errors explained on the top of this description.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.