if (fs.getType() == FormSet.LANGUAGE_FORMSET) { parent = defaultFormSet; } else if (fs.getType() == FormSet.COUNTRY_FORMSET) { parent = getFormSets().get(buildLocale(fs.getLanguage(), null, null)); parent = defaultFormSet; } else if (fs.getType() == FormSet.VARIANT_FORMSET) { parent = getFormSets().get(buildLocale(fs.getLanguage(), fs .getCountry(), null));
if (fs.getType() == FormSet.LANGUAGE_FORMSET) { parent = defaultFormSet; } else if (fs.getType() == FormSet.COUNTRY_FORMSET) { parent = getFormSets().get(buildLocale(fs.getLanguage(), null, null)); parent = defaultFormSet; } else if (fs.getType() == FormSet.VARIANT_FORMSET) { parent = getFormSets().get(buildLocale(fs.getLanguage(), fs .getCountry(), null));
if (fs.getType() == FormSet.LANGUAGE_FORMSET) { parent = defaultFormSet; } else if (fs.getType() == FormSet.COUNTRY_FORMSET) { parent = (FormSet) hFormSets.get(buildLocale(fs.getLanguage(), null, null)); parent = defaultFormSet; } else if (fs.getType() == FormSet.VARIANT_FORMSET) { parent = (FormSet) hFormSets.get(buildLocale(fs.getLanguage(), fs .getCountry(), null));