我试图在af:table中启用过滤,但它没有返回任何结果。
<af:table value="#{bindings.PaisUVO.collectionModel}" var="row"
rows="#{bindings.PaisUVO.rangeSize}"
emptyText="#{bindings.PaisUVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.PaisUVO.rangeSize}"
rowBandingInterval="0" styleClass="AFStretchWidth"
selectionListener="#{bindings.PaisUVO.collectionModel.makeCurrent}"
rowSelection="single" id="t1" binding="#{pageFlowScope.paisMB.tableData}"
scrollPolicy="page" autoHeightRows="0"
filterModel="#{bindings.PaisUVOQuery.queryDescriptor}"
queryListener="#{bindings.PaisUVOQuery.processQuery}" filterVisible="true">
<af:column sortProperty="#{bindings.PaisUVO.hints.NewsiteOxiPaisesNome.name}"
sortable="false"
headerText="#{bundle['lbl_pais']}"
id="c7" filterable="true">
<af:outputText value="#{row.NewsiteOxiPaisesNome}" id="ot2"/>
<f:facet name="filter"/>
</af:column>还可以在pageDef.xml中正确设置searchRgion
<executables>
<iterator Binds="PaisUVO" RangeSize="5" DataControl="OxitenoAMDataControl"
id="PaisUVOIterator" Sortable="true">
<sortCriteria>
<sort attribute="NewsiteOxiPaisesPk" ascending="false"/>
</sortCriteria>
</iterator>
<searchRegion Binds="PaisUVOIterator" Criteria=""
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
id="PaisUVOQuery"/>
还点击了这个链接:Row filtering。
我使用的是jdev 11.1.1.7.0。谁能指出是什么导致了这个问题?
发布于 2018-01-18 08:04:18
如果在将表添加到页面时,只选中该行为的复选框,则默认情况下,筛选应该会起作用。查看此图像:本教程中的http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/images/t059_Alt.gif - http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
以这种方式创建一个页面,然后将其与您尝试手动修改的页面进行比较。
https://stackoverflow.com/questions/48304850
复制相似问题