handleAutocompleteOfListXhtml

  public void handleAutocompleteOfListXhtml(SelectEvent event) {
        try {
            marcaList.removeAll(marcaList);
            marcaList.add(marcaSelected);
            marcaFiltered = marcaList;
            marcaDataModel = new MarcaDataModel(marcaList);
           lookupServices.setIdmarca(marcaSelected.getIdmarca());
            loginController.put("searchmarca", "idmarca");


        } catch (Exception ex) {
            JsfUtil.errorMessage("handleAutocompleteOfListXhtml() " + ex.getLocalizedMessage());
        }
    }

Last updated