While looking through the cforms binding code I found at some places
code like this:
if (convertorEl != null) {
String datatype = DomHelper.getAttribute(convertorEl, "datatype");
String localeStr = convertorEl.getAttribute("datatype");
if (!localeStr.equals("")) {
convertorLocale = I18nUtils.parseLocale(localeStr);
}
convertor = assistant.getDatatypeManager().createConvertor(datatype,
convertorEl);
}
Now it seems that a locale informations is read from the datatype,
but as the datatype is not a correct locale information, always the
default locale is used (inside parseLocale()).
So, is this a typo?
Carsten
Carsten Ziegeler
Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.net/weblogs/rael/