here is my code.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui">
<f:view contentType="text/html">
<h:head>
<title>Title</title>
</h:head>
<h:body>
<h:form id="test" prependId="false">
<p:commandButton value="Find" action="#{Test1Bean.testcal}"
process="@this" update="myTable"/>
<p:dataTable id="myTable" var="item" value="#{Test1Bean.test1EntityList}"
dynamic="true" paginator="true" rows="5" >
<p:column >
<f:facet name="header">
<h:outputText value="Date"/>
</f:facet>
<p:calendar/>
</p:column>
</p:dataTable>
</h:form>
</h:body>
</f:view>
</html>
but when my datatable is populated p:calendar doesn't respond.