You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/03/05 06:18:50 UTC

[jira] Commented: (WICKET-348) Propose removing 'final' modifier to AbstractSingleSelectChoice.convertValue()

    [ https://issues.apache.org/jira/browse/WICKET-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477906 ] 

Johan Compagner commented on WICKET-348:
----------------------------------------

why can't you use IChoiceRenderer for this?

> 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.