Witam Wszystkich!
Moglibyście mi pomóc w naprawieniu błędu?
Tabele mi się wyświetlają tak jak trzeba ale stronicowanie nie, nawet jak ustawie 50 stront to jest tylko 10.
Pozdrawiam!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title>To jest pierwszy test tabel</title>
<link href="./css/styles.css"
rel="stylesheet" type="text/css"/>
</h:head>
<h:body>
<h:form prependId="false">
<p:dataTable id="dataTable" var="muzycy" value="#{tabele.danesmall}"
paginator="true" rows="10" paginatorPosition="bottom" resizableColumns="true"
paginatorTemplate ="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="5,10,15" >
<f:facet name ="header">
Zadanie 2
</f:facet>
<p:column headerText="ID">
<f:facet name="header">
ID
</f:facet>
<h:outputText value="#{muzycy.ID}" />
</p:column>
<p:column headerText="Imie">
<f:facet name="header">
Imie
</f:facet>
<h:outputText value="#{muzycy.imie}" />
</p:column>
<p:column headerText="Nazwisko">
<f:facet name="header">
Nazwisko
</f:facet>
<h:outputText value="#{muzycy.nazwisko}" />
</p:column>
<p:column headerText="Instrument">
<f:facet name="header">
Instrument
</f:facet>
<h:outputText value="#{muzycy.instrument}" />
</p:column>
<p:column headerText="Doswiadczenie ">
<f:facet name="header">
Doswiadczenie
</f:facet>
<h:outputText value="#{muzycy.doswiadczenie}" />
</p:column>
<p:column headerText="DzienUrodzenia">
<f:facet name="header">
Dzien Urodzenia
</f:facet>
<h:outputText value="#{muzycy.dzienUrodzenia}" />
</p:column>
</p:dataTable>
</h:form>
</h:body></html>