@PostConstruct
 public void init() {
   FacesContext fc = FacesContext.getCurrentInstance();
   Map<String, String> params = fc.getExternalContext().getRequestParameterMap();
   String branchId = params.get("branchid");
   try {
     branchDto = branchService.getBranchById(Integer.valueOf(branchId));
   } catch (NumberFormatException e) {
     e.printStackTrace();
   } catch (IOException e) {
     e.printStackTrace();
   }
 }