xhtml Page
Code: Select all
<ui:composition>
<p:dialog id="dlg" widgetVar="dlg" modal="true" appendTo="@(body)" header="pwd change">
<ui:include src="../tmp/dlg_temp.xhtml" />
<p:ajax event="close" listener="#{bean2.Close}" update=":Table" />
</p:dialog>
<h:outputLabel value="hello" />
<br/>
<br/>
<h:form id="Table" style="width: 100%">
<p:dataTable id="dt_cont"
var="cont"
value="#{bean1.alcontList}"
[b] emptyMessage="no records"
filteredValue="#{bean1.filteredRows}"[/b]
rows="10"
paginator="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="10,20"
paginatorPosition="bottom"
style="width: auto; height: auto">
<p:columns value="#{bean1.alcontHeader}" var="column" columnIndexVar="colIn" style="width: auto" [b]filterBy="#{cont[colIn]}" filterMatchMode="contains"[/b]>
<f:facet name="header">
<h:outputText value="#{column}" style="width: auto"/>
</f:facet>
<h:outputText value="#{cont[colIn]}"/>
</p:columns>
<p:column style="width:32px;text-align: center">
<p:commandButton icon="ui-icon-search" title="select" oncomplete="PF('dlg').show();" actionListener="#{bean2.initDialog('dlg')}" >
<f:setPropertyActionListener value="#{cont}" target="#{bean2.alSeleData}" />
</p:commandButton>
</p:column>
</p:dataTable>
</h:form>
</ui:composition>
when i delete the filterproperties the site runs well.
Any Tips?
greeting
Gerald