public String export() {
   exportResult = facade.exportLocationsToCsv(country, selectedLanguage);
   if (exportResult.hasErrors()) {
     for (ErrorMessage msg : exportResult.getErrorMessages()) {
       addActionError(getText(msg.getMessageKey(), Arrays.asList(msg.getMessageArguments())));
     }
     return INPUT;
   }
   return SUCCESS;
 }
 @Override
 public void prepare() throws Exception {
   country = facade.findCountryByPk(country.getCountrycode());
   languages = facade.getAvailableLanguagesForCountry(country);
 }