return null;
}
public String delete()
{
Hotel selected = (Hotel)model.getRowData();
if(selected == null)
{
JSFUtility.addErrorMessage("Pleasee select the hotel to delete", "");
return null;
}
controller.deleteHotel(selected.getId());
JSFUtility.addInfoMessage("Hotel with name " + selected.getName()+ " is succesfully deleted." , "");
if (adminListBean.getSelected() != null) {
adminListBean.getSelected().setCity(null);
adminListBean.getSelected().setCountry(null);
adminListBean.getSelected().setName(null);