Hello,
i have a question regarding the input conversion in NumberTextField (wicket
6.14)
This is the code in question:
/**
* Always use {@link Locale#ENGLISH} to parse the input.
*/
@Override
protected void convertInput()
{
IConverter<N> converter = getConverter(getNumberType());
try
{
setConvertedInput(converter.convertToObject(getInput(),
Locale.ENGLISH));
}
catch (ConversionException e)
{
error(newValidationError(e));
}
}
Why is the used locale hardcoded here (Locale.ENGLISH). Shouldn't that be the
session locale?
Is there any browser standard regarding this behavior (Couldn't find one so
far)?
Thanks for your support
Per
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]