我正在使用 primefaces 数据表,我多次看到 onRowSelectUpdate 事件调用“显示”?
“显示”是什么意思?它是组件的公共(public)方法还是什么?
最佳答案
它指的是当您选择一行时要进行 ajax 更新的组件的 ID。例如,详细显示。
<p:dataTable id="mytable" onRowSelectUpdate="mydisplay">
...
</p:dataTable>
...
<p:someComponent id="mydisplay">
<p>This component will be ajax-updated whenever a row is selected.
</p:someComponent>
关于java - Primefaces 数据表 : what 'onRowSelectUpdate="display"' means?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7052726/