Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12555

default-field-type hidden doesn't works for auto-fields-service

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. OFBIZ-12555.patch
          8 kB
          Nicolas Malin

        Issue Links

          Activity

            People

              nmalin Nicolas Malin
              nmalin Nicolas Malin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: