myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] [Resolved] (TOMAHAWK-1653) selectManyPicklist broken if values contain comma
Date Wed, 19 Dec 2012 15:33:12 GMT


Werner Punz resolved TOMAHAWK-1653.

    Resolution: Fixed

added the new divider code to the encodeHiddenFields as well, I guess we are done now
> selectManyPicklist broken if values contain comma
> -------------------------------------------------
>                 Key: TOMAHAWK-1653
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>            Reporter: Nicolas PENINGUY
>             Fix For: 1.1.15-SNAPSHOT
> 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:

View raw message