下拉列表未显示在primefaces数据表列过滤器框中

问题描述:

我正在使用Jsf 2.2和primefaces 4.0.当我使用此代码时,一切正常.

I am using Jsf 2.2 and primefaces 4.0. when I use this code All is ok.

 <p:column headerText="Status" filterBy="#{List_request.rechargeStatusName}" filterMatchMode="contains" >

           <h:outputText value="#{List_request.rechargeStatusName}" />
 </p:column>

但是,当我尝试在此列的过滤器"框中加载下拉列表时. 并编写此代码

But When I try to load a Dropdown list in The filter box in this column. And write this code

 <p:column headerText="Status" filterBy="#{List_request.rechargeStatusName}" filterMatchMode="contains" >
                            <f:facet name="filter">
                                <p:selectOneMenu value="#{List_request.rechargeStatusName}" onchange="PF('reTab').filter()">
                                    <f:selectItem itemLabel="-Select One-" itemValue="#{null}" noSelectionOption="true" />
                                    <f:selectItems value="#{allRequestDetailsBean.rechargeStasusNameList}" />
                                </p:selectOneMenu>
                            </f:facet>
                            <h:outputText value="#{List_request.rechargeStatusName}" />
            </p:column>

然后下拉列表不会显示在过滤器框中,并且过滤不起作用--------请帮助任何人.

Then dropdown list is not show in filter box and Filtering not working--------Plase help anybody .

4.0中不支持过滤器方面...(请查看文档,请检查

Filter facets are not supported in 4.0... (check the documentation, check the blog to see when it was added etc..)