Hi guys,
I notice something strange while using the form module.
The message "form.user.errorMessage.generic", thrown when the FormEngine
find errors on its path, is not localized (i18n).
The reason?
The AbstractFormEngine calls the default MessageManager, without passing
any locale info.
And the MessageMenager calls the private method
private static Locale getCurrentLocale() {
return MgnlContext.getInstance().getLocale();
}
(I would have called something like
private static Locale getCurrentLocale() {
return MgnlContext.getInstance().getAggregationState().getLocale();
}
)
What do you think about this?
HT is a bug :-)
cheers!
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------