Different Ajax statuses for different components in PrimeFaces

后端 未结 3 827
我寻月下人不归
我寻月下人不归 2021-01-11 12:17

On my webpage I use global ajax status that is modal one. That is, when there is an ajax call, the user is blocked from performing other actions and is forced to wait. Like

3条回答
  •  耶瑟儿~
    2021-01-11 13:00

    You can use the global attribute whether to trigger ajaxStatus or not. For example, setting it false will not trigger ajaxStatus like this:

    
    

    For other components where you are updating with ajax. You can do some thing like this:

    
         
        
    
    

    UPDATE : If you want two status then do write your own dialog like this:

    
       Please Wait
    
    
    
         
        
    
    

提交回复
热议问题