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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment