Jsf 2 在richfaces 4上使用rich:datascroller筛选rich:datatable
我使用的是richfaces 4,我有一个rich:datatable和一个rich:datascroller,还有一个列和一个过滤器,正如richfaces 4 showcase中的示例所示,但问题是,一旦我过滤了表和datascroller更新(即,如果首先datascroller有10页,然后过滤器有2页)如果我单击下一页或任何边界控件,它将转到筛选表的下一页,但该表将重置为其原始状态(不带筛选表达式) 这是我的密码:Jsf 2 在richfaces 4上使用rich:datascroller筛选rich:datatable,jsf-2,richfaces,Jsf 2,Richfaces,我使用的是richfaces 4,我有一个rich:datatable和一个rich:datascroller,还有一个列和一个过滤器,正如richfaces 4 showcase中的示例所示,但问题是,一旦我过滤了表和datascroller更新(即,如果首先datascroller有10页,然后过滤器有2页)如果我单击下一页或任何边界控件,它将转到筛选表的下一页,但该表将重置为其原始状态(不带筛选表达式) 这是我的密码: <rich:dataTable id="mytb
<rich:dataTable id="mytbl" value="#{MyBean.mylist}" rows="10"
var="emp"
reRender="ds"
iterationStatusVar="it">
<f:facet name="noData">
no data found
</f:facet>
<rich:column filterValue="#{MyBean.id_filter}"
filterExpression="#{fn:containsIgnoreCase(emp.id,MyBean.id_filter)}">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="id"/>
<h:inputText value="#{MyBean.id_filter}">
<a4j:ajax event="change" render="mytbl" execute="@this"
onbegin="#{rich:component('wait_popup')}.show()"
oncomplete="#{rich:component('wait_popup')}.hide()"/>
</h:inputText>
</h:panelGroup>
</f:facet>
<h:outputText value="#{emp.id}"/>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="value" />
</f:facet>
<h:outputText value="#{emp.value}">
<f:convertNumber pattern="$#,###.00"/>
</h:outputText>
</rich:column>
<f:facet name="footer">
<rich:dataScroller maxPages="10" id="ds" render="@this" />
</f:facet>
</rich:dataTable>
没有找到任何数据
可能MyBean
没有查看范围