public void consultar_historial(ToggleEvent event) { if (event.getVisibility() == Visibility.VISIBLE) { this.historico_fCalibracion = this.controller.historial_fCalibracion( ((SweFactCalXTsol) event.getData()).getSweCata().getIdCatalogo()); } }
@Override public void onRowToggle(final ToggleEvent event) { msgItems.clear(); if (Visibility.VISIBLE.equals(event.getVisibility())) { msgItems.addAll(((Transaction) event.getData()).getRelatedItems()); } }
public void onToggle(ToggleEvent event) { FacesMessage message = new FacesMessage( FacesMessage.SEVERITY_INFO, event.getComponent().getId() + " toggled", "Status:" + event.getVisibility().name()); FacesContext.getCurrentInstance().addMessage(null, message); }
public void handleToggle(ToggleEvent event) { FacesMessage message = new FacesMessage( FacesMessage.SEVERITY_INFO, event.getComponent().getId() + " toggled", "Status:" + event.getVisibility().name()); addMessage(message); }
public void handleToggle(ToggleEvent event) { MessageUtil.addInfoMessage("panel.toggled", "Status:" + event.getVisibility().name()); }