1 Reply Latest reply on Aug 28, 2012 10:27 AM by prathap_dudvat

    Modal Panel hiding even when it contains the error messages

    prathap_dudvat

      I've a popup with requied field, a button with onclick and oncomplete events,

      If there is validtion error occured like field required when clicked on a button,

      it should show error is same popup,

      but it is closing popup eventhough there is validtion error, as i have written oncomplete hide the modal panel

       

      Please help me how to resolve this...

       

      Is there any javascript way to find the error message in facescontext and then hide the modal panel based on the error message count in facescontext