How to avoid repeatedly click a button in a form?

前端 未结 4 782

My code:


    
        

        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 15:54

    The 's Client Side API Widget:

    • PrimeFaces.widget.CommandButton

    • Method Params Return Type Description

    • disable() - void Disables button
    • enable() - void Enables button

    So you can just use like this:

    
    

提交回复
热议问题