Disable/enable commandbutton on ajax event

后端 未结 2 1490
生来不讨喜
生来不讨喜 2021-02-10 20:30

I want to be able to disable the commandbutton below once it\'s hit and enable it once the event listener runs and msg1 is rendered.



        
2条回答
  •  萌比男神i
    2021-02-10 21:23

    If you use richfaces, the a4j:commandButton has the status attribute which prevent this.

提交回复
热议问题