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

drop-down widget field with allow-multiple="true" does not display current value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 15.12.01
    • None
    • None

    Description

      ModelFormField.getEntry returns the string representation of the value corresponding to the field in either the context map or parameters map but when the value is returned as a list [X, Y, Z], the opening and closing brackets are encoded [X, Y, Z]

      This prevents the FormRenderer (atleast MacroFormRenderer) from detecting a list object from the string and converting it back to a list
      eg - currentValueList = StringUtil.toList(currentValue);

      Attachments

        1. ModelFormField.patch
          3 kB
          Gareth Carter

        Issue Links

          Activity

            People

              mbrohl Michael Brohl
              gareth.carter Gareth Carter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: