You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Gareth Carter (JIRA)" <ji...@apache.org> on 2015/05/25 21:30:17 UTC

[jira] [Created] (OFBIZ-6414) drop-down widget field with allow-multiple="true" does not display current value

Gareth Carter created OFBIZ-6414:
------------------------------------

             Summary: drop-down widget field with allow-multiple="true" does not display current value
                 Key: OFBIZ-6414
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6414
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Trunk
            Reporter: Gareth Carter
            Priority: Minor


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 &#x5b;X, Y, Z&#x5d;

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);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)