5 Replies Latest reply on Jan 11, 2011 4:24 AM by ilya40umov

    a4j:commandButton action not triggered if disabled attribute is used, though the button is enabled

    dhivyast

      Hi, When I include a 'disabled' attribute on an a4j:commandButton, the button's action is not performed. Taking the 'disabled' attribute out causes it to work properly. Please help.

       

      <a4j:commandButton id ="btnSubmit" value="Submit" type="submit" disabled="#{NewMergerBean.btnDisabled}" action="#{NewMergerBean.saveNewDealInfo}"/>

       

      The action works fine if i try without the disabled attribute