3 Replies Latest reply on May 4, 2007 4:48 PM by Sergey Smirnov

    How to show Alerts using Ajax4JSF

    Bansilal Haudakari Newbie

      If Ajax4JSF is replacement for Javascript wondering how to show Alerts using Ajax4JSF. For example displaying confirmation alert whenever user click on delete button
      Here is the snippet which uses JavaScript confirmDelete() method which results in a popup alert confirmation which i would like to replace it with Ajax4JSF

      <h:commandButton id="btnDelete" value="Delete" action="#{manufacturerBean.deleteManufacturer}"
       rendered="#{manufacturerBean.deleteBtnMode}"
       onclick="return confirmDelete();" styleClass="button" />