Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Using selectManyPicklist on List<String>, it fails if values contain comma :
<t:selectManyPicklist size="5" id="typesPickList" value="#
{bean.types}">
<f:selectItems value="#
" />
</t:selectManyPicklist>
On form submission I get : Validation Error: Value is not valid
It seems that selected values are concatenated in an input type=hidden, with the comma as the separator. The decoding in HtmlPicklistRenderer#decode() split on comma, so the decoded values are not good.