[
https://issues.apache.org/jira/browse/WICKET-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478549
]
Johan Compagner commented on WICKET-348:
----------------------------------------
huh? IChoiceRenderer works both ways convertValue impl we now have does id->
object.
> Propose removing 'final' modifier to AbstractSingleSelectChoice.convertValue()
> ------------------------------------------------------------------------------
>
> Key: WICKET-348
> URL: https://issues.apache.org/jira/browse/WICKET-348
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 2.0
> Reporter: Brian Topping
>
> While creating a subclass of DropDownChoice, I wanted to write a specialized
> reverse mapping function that would allow the option value to be used as the
> primary key for direct lookup of the object. Unfortunately,
> AbstractSingleSelectChoice.convertValue() is has a 'final' modifier. (I'm
> guessing this is an inside joke because it does a linear search... ;-))
> Any chance of removing the final modifier?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.