8182838485868788899091
public String edit() { local = currencyManager.findLocal(); if (id != null) { exchangeRate = exchangeRateManager.get(id); } else { exchangeRate = new ExchangeRate(); exchangeRate.setFromCurrency(local); } return "edit"; }
90919293949596979899
return "edit"; } public String add() { local = currencyManager.findLocal(); exchangeRate = new ExchangeRate(); exchangeRate.setFromCurrency(local); return "add"; }