4 Replies Latest reply on Jun 29, 2012 12:23 PM by Sudipto Desmukh

    Stopping actionListener through JavaScript

      We have a commandImageLink with actionListener method. we have added a clientListener for that commandImageLink as the following

      if (AdfPage.PAGE.getClientIdsWithMessages().length != 0) {

      Our aim is to stop the actionListener method from getting executed when there is a client side validation error. but event.cancel(); is NOT stopping the execution of the actionListener method.

      How can we stop the actionListener?