3 Replies Latest reply on May 24, 2007 8:00 AM by Ilya Shaikovsky

    a4jcommandButton changing image

    prashantak srivastava Newbie

      Hi ,

      I am using a4j:commandbutton as my button and I am using this as ...
      <a4j:commandButton id="btncut" image="images\btn_cut.gif" action="second" ajaxSingle="true" title="cut button" alt="cut" onmouseover="toolbar_mouseOver('images/btn_cut-over.gif',this.id)" onmouseout="toolbar_mouseOut('images/btn_cut.gif',this.id)" onmousedown="toolbar_mouseDown('images/btn_cut-down.gif',this.id)" ></a4j:commandButton>

      My requirement is that I have to change the image according to the "disabled attribute" as If it is disabled a different image should be used.

      Plz help me ...