[ https://issues.apache.org/jira/browse/OFBIZ-12555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486353#comment-17486353 ]
Jacques Le Roux commented on OFBIZ-12555: ----------------------------------------- I got some local Git conflicts because we crossed on wire (always troubling), all is OK now. > 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 > Fix For: 22.01.01, Upcoming Branch > > 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="hidden"/> > </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)