Ejemplo n.º 1
0
 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());
   }
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
  public void handleToggle(ToggleEvent event) {
    FacesMessage message =
        new FacesMessage(
            FacesMessage.SEVERITY_INFO,
            event.getComponent().getId() + " toggled",
            "Status:" + event.getVisibility().name());

    addMessage(message);
  }
Ejemplo n.º 5
0
 public void handleToggle(ToggleEvent event) {
   MessageUtil.addInfoMessage("panel.toggled", "Status:" + event.getVisibility().name());
 }