tomahawk dataScroller 仅显示:
|< << < > >> >|
而不是在页面上划分表格,一起显示
jsp页面的下面部分:
<t:dataTable
id="resultTable"
value="#{customerSearchResults}"
var="customerInfo" >
<h:column>
<f:facet name="header">
<h:outputText value="Account #" />
</f:facet>
<h:outputText value="#{customerInfo.accountNumber}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Customer Name" />
</f:facet>
<h:outputText value="#{customerInfo.name}" />
</h:column>
</t:dataTable>
<t:dataScroller
id="paginatorForResTable"
for="resultTable"
fastStep="10"
paginatorMaxPages="9"
renderFacetsIfSinglePage="true"
paginator="true"
immediate="true"
>
<f:facet name="first">
<h:outputText value="|<" />
</f:facet>
<f:facet name="previous">
<h:outputText value="<" />
</f:facet>
<f:facet name="next">
<h:outputText value=">" />
</f:facet>
<f:facet name="last">
<h:outputText value=">|" />
</f:facet>
<f:facet name="fastforward">
<h:outputText value=">>" />
</f:facet>
<f:facet name="fastrewind">
<h:outputText value="<<" />
</f:facet>
</t:dataScroller>
有谁知道问题出在哪里?