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

Leon commented on OFBIZ-4388:
-----------------------------

Now I know why, thanks for explain.

There're two assumption in the reason you provide. One is the row level button 
rarely navigates to another list, the Second is the end user always want row 
level button submit go back to its original position. Such assumption are ok 
for application component, but not very safe for framework, especially for 
screen/form widget which is intensively used by others, not only in ofbiz 
itself, but also the customizaiton based on ofbiz.

At another point, why don't implement similar behavior to row level anchor 
link? From the view point of end user, is there any different between "post" by 
hidden-form and "get" by hyper link? (except the url shown on address bar of 
course. Actually, to avoid tedious url, we use hidden-form for low level button 
in many place in our customization, some of them do call another list)

> 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

        

Reply via email to