[
https://issues.apache.org/jira/browse/OFBIZ-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764489#comment-13764489
]
Adrian Crum commented on OFBIZ-1537:
------------------------------------
I'm trying to understand and summarize the change that is needed, correct me if
I'm wrong:
If a form field is a display field, then the default values take precedence
over request parameters.
> Form Widget: using the request parameters causes problems for some forms
> ------------------------------------------------------------------------
>
> Key: OFBIZ-1537
> URL: https://issues.apache.org/jira/browse/OFBIZ-1537
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Scott Gray
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: screenshot-1.jpg
>
>
> If a form is being rendered with an error message present in the context then
> the form fields try to get their value from the request parameters before the
> default map. That is used to refill a form for the user so that they can
> correct any problems.
> This causes problems for forms that aren't intended to be edited by the user,
> but exist solely for display purposes. I've attached a screenshot that shows
> the problem clearly, note the statusId value in the url and in the Payment
> Header box. The actual current status for the payment is Not Paid
> (PMNT_NOT_PAID)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira