1 Reply Latest reply on Feb 15, 2011 9:57 AM by Robert Morse

    Not able to configure primefaces with my project

    dhanaraja rajendiran Newbie
      I am using dataTable like this in my jsp page-->>

      <h:form id="primefacesForm">
         <table style="width:100%;">
               <p:dataTable id="dhana" var="asset" value="# {admAssetsAction.retrieveAssets()}" width="100%" paginator="true" dynamic="false or true">

          <f:facet name="header">
               <h:outputText value="NAME"/>
            <h:outputText value="#{asset.name}"/>

      I added primefaces in my jsp page like this->>

      But I dont know why it is not displaing??.........

      I am using "primeface 1.0" version......................
      I did following changes in xml files

      change no 1: WEB.INF->web.xml (i added below code)

      <servlet-name>Primefaces Resource Servlet</servlet-name>

      <servlet-name>Primefaces Resource Servlet</servlet-name>

      Change No 2 : build.xml

      <fileset dir="${basedir}">
      <include name="lib/primefaces*.jar" />

      <copy todir="${war.dir}/WEB-INF/lib">
      <fileset dir="${lib.dir}">
      <include name="primefaces*.jar" />

      Change No 3: Added primefaces file in both "lib" folder as well as "Build path" of my project

      Change No 4: I added following thing in my template as well as my jsp where iam using primeface dataTable

      Already i posted that how I wrote dataTable in my jsp file........

      But Still not able to disply "p:dataTable" !!!!!!!!!!!!!!!!!! not only p:dataTable regarding primefaces nothing is working in my project !!!!!

      Can any one please help me out from this pbm.........