[ 
https://issues.apache.org/jira/browse/WICKET-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sander Sõnajalg updated WICKET-2122:
------------------------------------


Oops.. my bad, implementations like 
org.apache.wicket.markup.html.form.DropDownChoice indeed *do* provide (and 
document) a way to localize null-values, and CHOOSE_ONE constant is just the 
last fallback.. okay, sorry, please ignore this report and change to 
"completed" or sthg : )


> The AbstractSingleSelectChoice "Choose One" message should be a resource
> ------------------------------------------------------------------------
>
>                 Key: WICKET-2122
>                 URL: https://issues.apache.org/jira/browse/WICKET-2122
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: (independent of environment)
>            Reporter: Sander Sõnajalg
>            Priority: Trivial
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> In org.apache.wicket.markup.html.form.AbstractSingleSelectChoice, the "Choose 
> One" message is hardcoded as a constant and I can't see a way to override or 
> localize it. I would expect it to be a resource key that i could attach a 
> localized string with :) 
> (current impl:
>       /** String to display when the selected value is null and nullValid is 
> false. */
>       private static final String CHOOSE_ONE = "Choose One";
> )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to