[
https://issues.apache.org/jira/browse/OFBIZ-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094583#comment-13094583
]
Hans Bakker edited comment on OFBIZ-4388 at 8/31/11 2:57 PM:
-------------------------------------------------------------
every list with a button on the row level needs this. When the button is
pressed and the viewindex and size is not remembered in the request the first
page in the default size will be shown. There are many lists which have this
problem.
I did not see anywhere in ofbiz where a button on the first list calls another
list in OFBiz. can you provide an example where this happens? It could be
easily solved on the second list by re-initialize these parameters there?
I was adding many viewindex/size parameters in listbuttons to make this work
and this change will fix all lists.
was (Author: hansbak):
every list with a button on the row level needs this. most lists have at
least a button. When the button is presses and the viewindex and size is not
remembered in the request the first page in the default size will be shown.
> question to revision 1160539 "add the viewsize and viewindex parameters to
> the buttons on a list form to remember the paage and pagesize automatically"
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-4388
> URL: https://issues.apache.org/jira/browse/OFBIZ-4388
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Leon
>
> I don't know why do that "automatically". This commit does break something.
> E.g. We have a list form which has hidden-form style button leads to another
> list form. If the former list is in page one, then everything works well, but
> if it's in page two, then you get nothing in latter list form because the
> "viewindex" of the first list is remembered and transited to the second.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira