You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/26 12:58:49 UTC

[jira] [Issue Comment Edited] (OFBIZ-644) Pagination in https://host_name:8443/ordermgr/control/orderlist needed

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

Adrian Crum edited comment on OFBIZ-644 at 2/26/12 11:58 AM:
-------------------------------------------------------------

It's too late to change it now. Look at it as a lesson on how NOT to do things.

A good general rule to follow is to keep client application state in the representation, not in the session. Sure, including all of the URL parameters in the navigation links would have been a lot of work, but I believe it would have been less work than writing/debugging/maintaining a Java class that attempts (and fails) to do the same thing.


                
      was (Author: adrianc@hlmksw.com):
    It's too late to change it now. Look at it as a lesson on how NOT to do things.

A good general rule to follow is to keep client application state in the representation, not in the session. Sure, including all of the URL parameters in the navigation links would have been a lot of work, but I believe it would have been less work that writing/debugging/maintaining a Java class that attempts (and fails) to do the same thing.


                  
> Pagination in https://host_name:8443/ordermgr/control/orderlist needed
> ----------------------------------------------------------------------
>
>                 Key: OFBIZ-644
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-644
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: All
>            Reporter: Walter Vaughan
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: orderliststate-svn.patch, orderliststate.patch
>
>
> There is no pagination in https://host_name:8443/ordermgr/control/orderlist. If a status like "sent' is chosen, thousands or millions of rows will be returned if there is that many in the database. Some sort of pagination system like we have in https://host_name:8443/partymgr/control/findparty with some sort of higher limit like 100 records or so might be good, as to not break behavior for most existing users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira