[
https://issues.apache.org/jira/browse/WICKET-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538895
]
Alastair Maw commented on WICKET-382:
-------------------------------------
The issue is that the whole point of a ChoiceRenderer is that it renders
choices - those Strings should not then be further converted.
It's quite possible to have a converter which does not just return the String
as is, at which point this all breaks. So yes, we should just be calling
.toString().
Perhaps we should see if the objectClass is already a String and just use it if
so, otherwise do the conversion?
> Converter misusage/mangling in RadioChoice
> ------------------------------------------
>
> Key: WICKET-382
> URL: https://issues.apache.org/jira/browse/WICKET-382
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta1
> Reporter: Alastair Maw
> Assignee: Johan Compagner
> Fix For: 1.3.0-beta5
>
>
> 1.x RadioChoice:433 is doing conversion. I don't think it should be.
> I think the default ChoiceRenderer should be doing the conversion, and that
> if you supply your own, no conversion should be done.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.