[英]JSF Datatable current Page Primefaces
I would like to display the current page of a datatable outside of the table (I actually need it for paging a the items on a google maps component). 我想在表外显示数据表的当前页面(我实际上需要它来分页google maps组件上的项目)。 How can I get the current page of the datatable?
如何获取数据表的当前页面?
Thanks, D 感谢:D
In tomahawk you can use dataScroller pageIndexVar (only inside datascroller component) 在战斧中,您可以使用dataScroller pageIndexVar(仅在datascroller组件内部)
<t:dataScroller for="data_table" pageIndexVar="current_page">
<h:outputText value="#{current_page}" />
</t:dataScroller>
http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_dataScroller.html http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_dataScroller.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.