Skip to content

Commit

Permalink
Add lazy=true to primefaces table
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Dec 21, 2013
1 parent 15a3ac6 commit 2f28803
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ui:define name="content">
<h:form>
<p:dataTable id="hotels" var="h" value="#{hotels}" paginator="true" dynamic="true"
rows="#{hotels.pageSize}" page="#{hotels.currentPage}">
rows="#{hotels.pageSize}" page="#{hotels.currentPage}" lazy="true">
<f:facet name="header">
Hotel Search Results<br/>
<p:commandLink value="Modify or start search again" action="changeSearch" styleClass="alt" />
Expand Down

0 comments on commit 2f28803

Please sign in to comment.