Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Read Only Table with Sorting and Filtering enabled does not work. Why?

user10047839Jul 11 2011 — edited Jul 13 2011
Hello,

I dropped a View Object based on a simple query to a jspx page and then I chose an af:table with sorting and filtering enabled on the displayed columns.
After running the page (without having changed any default settings created during dropping) neither filtering nor sorting work. When I click on sort or I give the input text for filtering, the table just resfreshes the same content again.

Do you have any idea?

<af:panelGroupLayout id="pgl1" halign="center"
layout="vertical">
<af:table value="#{bindings.MyVO1.collectionModel}"
var="row" rows="#{bindings.MyVO1.rangeSize}"
emptyText="#{bindings.MyVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.MyVO1.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.MyVO1Query.queryDescriptor}"
queryListener="#{bindings.MyVO1Query.processQuery}"
filterVisible="true" varStatus="vs"
rowSelection="single" id="t1"
columnStretching="multiple" width="600px"
selectionListener="#{backingBeanScope.myBean.onTableSelect}"
first="0" contentDelivery="lazy"
contextMenuSelect="false" immediate="true">
<af:column sortProperty="Property1" filterable="true"
sortable="true"
headerText="#{bindings.MyVO1.hints.Property1.label}"
id="c4" width="60">
<af:outputText value="#{row.Property1}" id="ot3"/>
</af:column>
<af:column sortProperty="Property2" filterable="true"
sortable="true"
headerText="#{bindings.MyVO1.hints.Property2.label}"
id="c1" width="75">
<af:outputText value="#{row.Property2}" id="ot1"/>
</af:column>
</af:table>
</af:panelGroupLayout>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2011
Added on Jul 11 2011
16 comments
6,529 views