[richfaces-issues] [JBoss JIRA] (RF-12098) PickList doesn't accept comma in string value
Stefan Risto (JIRA)
jira-events at lists.jboss.org
Tue Mar 27 07:23:49 EDT 2012
[ https://issues.jboss.org/browse/RF-12098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Risto updated RF-12098:
------------------------------
Description:
The rich:pickList Component does not handle values containing commas.
I used a converter and in the getAsString - Method a String containing a comma was returned, such as "You,Me". After selecting this value in the pick list the converters getAsObject method is called twice, once for "You" and once for "Me".
I would expect to get the same value in getAsObject as the converters getAsString returned. Maybe the comma should be escaped by the component and/or the javascript code.
This Bug seems to be related to RF-6026, but that bug is not targeted for RF 4.X
was:
The rich:pickList Component does not handle values containing commas.
I used a converter and in the getAsString - Method a String containing a comma was returned, such as "You,Me". After selecting this value in the pick list the converters getAsObject method is called twice, once for "You" and once for "Me".
I would expect to get the same value in getAsObject as the converters getAsString returned. Maybe the comma should be escaped by the component and/or the javascript code.
This Bug seems to be related to RF-6766, but that bug is not targeted for RF 4.X
> PickList doesn't accept comma in string value
> ---------------------------------------------
>
> Key: RF-12098
> URL: https://issues.jboss.org/browse/RF-12098
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.2.0.Final
> Reporter: Stefan Risto
>
> The rich:pickList Component does not handle values containing commas.
> I used a converter and in the getAsString - Method a String containing a comma was returned, such as "You,Me". After selecting this value in the pick list the converters getAsObject method is called twice, once for "You" and once for "Me".
> I would expect to get the same value in getAsObject as the converters getAsString returned. Maybe the comma should be escaped by the component and/or the javascript code.
> This Bug seems to be related to RF-6026, but that bug is not targeted for RF 4.X
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list