3 Replies Latest reply on Jun 4, 2009 8:48 AM by nbelaevski

    h:commandButton to clear <rich:messages

      Hi,
      I am using <rich:messages> to display validation messages. Would like to clear all messages when user presses h:commandButton. I am not sure, how it should be done? In the same way, if any validation error occurs, i mean <rich:messages> are displayed, i would like to close a modalWindow. Need your suggestion on implementin these.