<p:commandButton global =“ false”>属性有什么作用?

Wiz*_*tan 2 jsf global primefaces jsf-2 commandbutton

是什么设置时之间的差异global的属性<p:commandButton>false或将其设置为true。我正在浏览primefaces展示柜,但无法理解其中的区别。

Mat*_*ndy 5

形成Primefaces TLD:

定义是否触发ajaxStatus。

如果global为true,并且您在页面上定义了ajaxStatus,则单击该按钮将显示状态。