You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2022/02/01 15:48:00 UTC

[jira] [Updated] (OFBIZ-12555) default-field-type hidden doesn't works for auto-fields-service

     [ https://issues.apache.org/jira/browse/OFBIZ-12555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin updated OFBIZ-12555:
----------------------------------
    Attachment: OFBIZ-12555.patch

>  default-field-type hidden doesn't works for auto-fields-service
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-12555
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12555
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/widget
>    Affects Versions: 22.01.01, Upcoming Branch
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-12555.patch
>
>
> When you define a widget form and wish populate hidden fields with the element auto-fields-service, OFBiz rendering each as edit field type.
>     <form name="ListPartyQuals" ...>
>         <auto-fields-service service-name="updatePartyQual" default-field-type="hiddens"/>
>    </form>
> The problem came from the function ModelFormFieldBuilder.induceFieldInfoFromServiceParam didn't manage the case "hidden"
> By the way, this function is a "if" forest, and simplify reading.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)