1

I am wondering about the following behaviour of <p:dataTable filteredValue>. Hopefully you can explain it and tell me how to avoid it.

The backing bean method is called even though the corresponding component is not rendered.

<p:panel rendered="#{false}">
    <p:dataTable ... filteredValue="#{backingBean.filteredRowModels}">
        ...
    </p:dataTable>
</p:panel>

Do you know how avoid calling the backing bean method if it is not rendered?

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102

0 Answers0