Exemplo n.º 1
0
  public void itemSelect(ItemSelectEvent event) {
    FacesMessage msg =
        new FacesMessage(
            FacesMessage.SEVERITY_INFO,
            "Item selected",
            "Item Index: " + event.getItemIndex() + ", Series Index:" + event.getSeriesIndex());

    FacesContext.getCurrentInstance().addMessage(null, msg);
  }
Exemplo n.º 2
0
 public void itemSelect(ItemSelectEvent event) {
   MessageUtil.addInfoMessageWithoutKey(
       "Item selected",
       "Item Index:" + event.getItemIndex() + ", Series Index: " + event.getSeriesIndex());
 }