[
https://issues.apache.org/jira/browse/TOMAHAWK-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535902#comment-13535902
]
Werner Punz commented on TOMAHAWK-1653:
---------------------------------------
Yes the decode splits on comma.
> selectManyPicklist broken if values contain comma
> -------------------------------------------------
>
> Key: TOMAHAWK-1653
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1653
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Reporter: Nicolas PENINGUY
>
> Using selectManyPicklist on List<String>, it fails if values contain comma :
> <t:selectManyPicklist size="5" id="typesPickList" value="#{bean.types}">
> <f:selectItems value="#{editBean.types}" />
> </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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira