[ 
https://issues.apache.org/jira/browse/OFBIZ-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671798#action_12671798
 ] 

Erwan de FERRIERES commented on OFBIZ-2175:
-------------------------------------------

The problem is when you want to navigate in the results of this list for 
example :
https://localhost:8443/content/control/ContentSetupMenu

When you click on the next, the URL will be 
https://localhost:8443/content/control/ContentSetupMenu?3_1=10&2_1=1#
then
https://localhost:8443/content/control/ContentSetupMenu?3_1=10&2_1=2#

And I totally agree when you said that 3 is not a valid field name, but it is 
what is written in the URL.

Hope that can explain the patch


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

Reply via email to