0 Replies Latest reply on May 15, 2007 9:43 PM by vivian hu

    how do I close a dialog?

    vivian hu Novice

      I have a dialog with OK and Cancel button.
      I want the OK button to close the dialog after my business logic succeed, but show an error msg and leave the dialog open when something is wrong.

      How can I do this?

      Now I have:
      <h:commandButton value="#{bundle.OK}" action="#{vcBean.addVC}" />