public String editAdressForm(long id) { Address address = addressDao.findById(id); this.id = address.getId(); this.name = address.getName(); this.street = address.getStreet(); this.houseNumber = address.getHouseNumber(); this.zip = address.getZip(); this.city = address.getCity(); return "edit.xhtml"; }