Пример #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);
  }
Пример #2
0
 public void itemSelect(ItemSelectEvent event) {
   MessageUtil.addInfoMessageWithoutKey(
       "Item selected",
       "Item Index:" + event.getItemIndex() + ", Series Index: " + event.getSeriesIndex());
 }