When pagination is used, the properties values are not set correctly.
For example:
Code: Select all
<h:inputHidden id="id" value="#{userHomeBean.id}"/>
<p:dataGrid var="item" value="#{userHomeBean.activeAnimalList}" columns="3" rows="12" paginator="true" effect="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="9,12,15">
<p:column>
<p:panel>
<h:graphicImage url="#{request.contextPath}/IMServlet?id=#{item.imageUrl}" width="#{userHomeBean.user.config.widthX}" height="#{userHomeBean.user.config.widthY}"/>
</p:panel>
</p:column>
</p:dataGrid>
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap() - contains <"id","test"> - pair, but setId is not executed.
Is it my problem, or bug in PrimeFaces?