Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,Noob 先生又来了; 我使用 tomahawks datascroller 对数据表中的数据进行分页。我有两个方面,下一个和上一个定义。我注意到,只要有数据要分页,就会出现下一个和上一个按钮,无论如何。即,如果您在第一页,则仍显示上一页,如果您在最后一页,则显示下一页。 我已经对文档进行了 RTFM,但找不到任何可以帮助我的东西。与谷歌搜索相同。有谁可以帮助我吗?
同时设计了一个修复程序,为此在 ASF 中记录了一个错误,可能会被大喊大叫或让 ASF 警察逮捕我,因为我问了一些愚蠢的问题:
<f:facet name="previous"><h:panelGroup rendered="#{pageIndex != 1}">< Previous</h:panelGroup></f:facet>
记得设置 pageCountVar="pageCount" 和 pageIndexVar="pageIndex"
Noob先生出去..