5 Replies Latest reply on Feb 14, 2008 4:18 AM by Sietse de Kaper

    a4j:commandButton timeout attribute

    rachana patel Newbie


      In one of the buttons I have set timeout = "6000". As soon as button is clicked i disable it and show a wheel.

      I want to enable the button and stop showing the wheel as soon as request times out. Please let me know how to do this.

      Also can I force the button to timeout from a javascript function? I mean I want a ajax action to stop processing if some one clicks on lets say "Cancel" button.

      Right now if Cancel is hit, ajax request is anyway going on and it goes on displaying parts which should be not displayed as the User has hit the cancel button.

      Please help!