Different Ajax statuses for different components in PrimeFaces

后端 未结 3 833
我寻月下人不归
我寻月下人不归 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:14

    In Primefaces 5.1 you will see a warning with Ravi's solution and it will not work.

      27-Mar-2015 14:35:41.877 WARNING [http-apr-8080-exec-2] org.primefaces.component.autocomplete.AutoCompleteRenderer.encodeScript The process/global/onstart/oncomplete attribute of AutoComplete was removed. Please use p:ajax with the query event now
    

    The correct solution for Primefaces 5.1 is to add

     
    

    inside the autoComplete tag.

提交回复
热议问题