/**
* Lookup form by name and locale (exact match).
*/
private FormConfig getFormConfig(String name, Locale locale) {
FormsConfig formsConfig = (FormsConfig)formsConfigsByLocale.get(locale);
if (formsConfig != null) {
FormConfig formConfig = formsConfig.getFormConfig(name);
if (formConfig != null) {
return formConfig;
}
}
return null;