You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2007/12/20 11:32:43 UTC

[jira] Commented: (OFBIZ-1537) Form Widget: using the request parameters causes problems for some forms

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

Scott Gray commented on OFBIZ-1537:
-----------------------------------

I'm thinking that the best way to fix this is to only use the request parameters when there is an error for form fields that are editable, any opinions?

> 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.
-
You can reply to this email to add a comment to the issue online.