Esempio n. 1
0
 public void deleteBank() throws IOException {
   System.out.println("delete" + delBank.getBankName());
   fbsBankFacade.remove(delBank);
   bankList.clear();
   bankList = em.createNamedQuery("FbsBank.findAll").getResultList();
   FacesContext.getCurrentInstance()
       .getExternalContext()
       .redirect("/FbsFaces/faces/jsfpages/Company/addBank.xhtml");
 }
Esempio n. 2
0
 public void bank(FbsBank fbsBank) {
   // setFbsBank(fbsBank);
   delBank = fbsBank;
   System.out.println("bank" + fbsBank.getBankName());
 }