0 Replies Latest reply on Oct 9, 2007 8:37 AM by Hans Georg Frey

    looking for global setting for mouse style

    Hans Georg Frey Newbie

      Hi,

      I am looking for a way to switch mosue style global while a ajax request is been executed. Currently I have to add onsubmit and oncomplete for each a4j:element. See a snippet beneath.

      Thank you

      <a4j:support event="onblur" reRender="panelError" ajaxSingle="true"
       onsubmit="document.getElementsByTagName( 'body' )[0].style.cursor = 'wait';"
       oncomplete="document.getElementsByTagName( 'body' )[0].style.cursor = 'auto';"
      limitToList="true" />