this.modelContext = modelContext;
this.viewContext = viewContext;
try {
App app = viewContext.getApp();
CountryLanguage countryLanguage = (CountryLanguage) modelContext
.getEntity();
CountryLanguages countryLanguages = (CountryLanguages) modelContext
.getEntities();
ConceptConfig countryLanguageConceptConfig = countryLanguages
.getConceptConfig();
String currentLanguage = countryLanguage.getLanguage();
List languageList = countryLanguages.getLanguageList();
IModel choiceModel = new Model(currentLanguage);
DropDownChoice countryLanguageChoice = new CountryLanguageChoice(
"countryLanguageChoice", choiceModel, languageList);