Hello,
I have a problem concerning the filtering of rich:dataTable/column. I am not using the built-in filteredBy, but instead I use external filtering in a Bean via the filterMethod.
(Using RF 3.3.2)
my ColumnComposition:
Explanation: Each table has its own sortBean and filterBean and gets it from a Hashmap in a SessionBean.
testBean is a managedBean (Scope: session)
sortMap is a HashMap (key=tableId, value=sortBean)
filterMap is a HashMap (key=tableId, value=filterBean)
tableId is set via <c:set var="tableId" value="#{id}"/> (could use id instead, since it is passed by the table-attribute id)
<ui:composition> <rich:column sortOrder="#{testBean['sortMap'][tableId].sortOrder}" selfSorted="#{false}" filterMethod="#{testBean['filterMap'][tableId].filterMethod}" filterEvent="onkeyup" id="#{colId}" sortBy="#{sortValue}"> <f:facet name="header"> <t:panelGrid columns="1"> <t:outputText value="Title"/> <t:inputText value="..." /> </t:panelGrid> </f:facet> <ui:insert/> </rich:column> </ui:composition>
javax.el.PropertyNotFoundException - Target Unreachable, 'null' returned null
Did anyone have a look at this yet?