public String save() {
boolean isNew = (exchangeRate.getId() == null);
local = currencyManager.findLocal();
ExchangeRateType type = !isBlank(stType) ? ExchangeRateType.valueOf(stType) : null;
exchangeRate.setType(type);
exchangeRate.setFromCurrency(local);
if (exchangeRate.getFromCurrency() == null){
String key = "exchangeRate.localCurrency.missing";