lazy loaded datatable's paginator buttons not showing

UI Components for JSF
Post Reply
khizar
Posts: 5
Joined: 13 Apr 2011, 17:28

13 Apr 2011, 17:50

hi,

i have previously used datatable pagination and it worked as a charm. This time i needed to use the lazy loaded pagination and its showing the first page and there are no paginator buttons. I have tried a lot of things but it just isnt showing the paginator buttons. if i change the number of rows, it works i.e the number of rows on tht page changed but the paginaotor buttons are not showing. if i inspect the datatable in chrome, it shows thr is a div for the paginator bottom

Code: Select all

<div xmlns="http://www.w3.org/1999/xhtml" id="j_idt7:contentTable_paginatorbottom" class="ui-paginator ui-paginator-bottom ui-widget-header ui-corner-bl ui-corner-br"></div>
this is my datatable

Code: Select all

<p:dataTable id="contentTable" value="#{chatroomBean.lazyLoadedChatroomBeans}"
					var="chatroom" paginator="true" paginatorPosition="bottom" rows="10" lazy="true"
					paginatorTemplate=" {PreviousPageLink} {CurrentPageReport} {NextPageLink} "
					 rendered="#{chatroomBean.chatroomSearchText!=null}">

any idea will be much appreciated. thanks

regards
khizar
Primefaces 3.0M1 , JSF 2 , Apache Tomcat 6

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests