Results 1 to 1 of 1
  1. #1
    rithish is offline Member
    Join Date
    Apr 2011
    Posts
    40
    Rep Power
    0

    Default PrimeFaces pagination not working and throwing exception

    Iam using primefaces 5.0.i used data table in primefaces and displayed data from datatabase.Pagination tab displays in vertical wise doesn't display in proper manner

    PrimeFaces pagination not working and throwing exception-pagination-tab.png


    Here is my jsf page

    Java Code:
    <!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:ui="http://java.sun.com/jsf/facelets"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:p="http://primefaces.org/ui"
          > 
    
    <h:head></h:head> 
    <body> 
    <h:form>
    <p:dataTable value="#{customerlisting.getcustomerlist()}" var="cml" style="width:25px;height:30px;" rows="3"  paginatorPosition="bottom" paginator="true">
    <p:column>
    <f:facet name="header">
    Customer Id
    </f:facet>
    <h:outputText value="#{cml.customerid}"></h:outputText>
    
    </p:column>
    <p:column>
    <f:facet name="header">Customer Name</f:facet>
    <h:outputText value="#{cml.customername}"></h:outputText>
    
    </p:column>
    <p:column><p:commandButton value="Edit"/></p:column>
    <p:column><p:commandButton value="Delete"/></p:column>
    </p:dataTable>
    </h:form>
    </body> 
    </html>
    Attached Thumbnails Attached Thumbnails PrimeFaces pagination not working and throwing exception-pagination-tab.png   PrimeFaces pagination not working and throwing exception-paginationprob.png  
    Last edited by rithish; 11-04-2014 at 08:30 PM.

Similar Threads

  1. Throwing A Character Exception
    By Mnelson in forum New To Java
    Replies: 4
    Last Post: 07-19-2012, 10:07 PM
  2. Program not throwing exception
    By aedara in forum New To Java
    Replies: 3
    Last Post: 06-28-2011, 05:55 AM
  3. Exception throwing
    By andy16 in forum New To Java
    Replies: 9
    Last Post: 06-07-2010, 05:57 PM
  4. Display Message Without Throwing Exception
    By kailashchandra in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 09-27-2008, 09:05 AM
  5. throwing Exception
    By bugger in forum New To Java
    Replies: 3
    Last Post: 11-09-2007, 09:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •