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!

custom view Criteria Not working

Mukesh S PatilJan 16 2013 — edited Jan 17 2013
I have created a customeViewCriteria for my VO ( View Object )

I am dragging it in page with ADF query with Table. So on page i can see the search panel with field i added in criteria and Table.

However when i do search it is not working. I even kept the partial trigger of table on query.

Does i need any more configuration ? Does i need to explicitly call from Application Module.?

Note : 1] Some of are transient attributes in in view criteria.

Thanks
Mukesh.

Code:

<af:panelGroupLayout layout="vertical" id="pgl1">
<af:panelHeader text="ContactHistory" id="ph1">

<af:query id="qryId1" headerText="Search" disclosed="true"
value="#{bindings.GermanSuspectsVOCriteriaQuery.queryDescriptor}"
model="#{bindings.GermanSuspectsVOCriteriaQuery.queryModel}"
queryListener="#{bindings.GermanSuspectsVOCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.GermanSuspectsVOCriteriaQuery.processQueryOperation}"
resultComponentId="::resId1"/>
</af:panelHeader>

<af:table value="#{bindings.GermanSuspect.collectionModel}"
var="row" rows="#{bindings.GermanSuspect.rangeSize}"
emptyText="#{bindings.GermanSuspect.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.GermanSuspect.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.GermanSuspectsVOCriteriaQuery.queryDescriptor}"
queryListener="#{bindings.GermanSuspectsVOCriteriaQuery.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.GermanSuspect.collectionModel.selectedRow}"
selectionListener="#{bindings.GermanSuspect.collectionModel.makeCurrent}"
rowSelection="single" id="resId1" width="500"
partialTriggers="::qryId1">

<af:column sortProperty="OrganisationId" sortable="true"
headerText="#{bindings.GermanSuspect.hints.OrganisationId.label}"
id="resId1c1">
<af:outputText value="#{row.OrganisationId}" id="ot3">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.GermanSuspect.hints.OrganisationId.format}"/>
</af:outputText>
</af:column>

<Some more columns>

Thanks
Mukesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2013
Added on Jan 16 2013
5 comments
262 views