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!

Why are there all criteria views in my query?

ChristianM0147May 20 2022

Hello
im currently working with JDev version 12.2.1.4.0
I created 2 Entitybased view Objects that are linked via Association (master-detail).
For the detail view object i created several view criterias that differentiate in the where clause. (where colour = orange, where colour = blue, where colour = green)
I dragged one view criteria of those 3 on my page as a query, after that i dragged the corresponding view object on the page to create a editable table. In the query i linked the id of the table in the 'resultComponentId'.
So when i start my page i have a drop down menu to select ALL criteria views i created. How is that? i only dragged one of them.
The source looks like this:
<af:query id="qryId1" headerText="Suche" disclosed="true"
value="#{bindings.blueViewCriteria.queryDescriptor}"
model="#{bindings.blueViewCriteria.queryModel}"
queryListener="#{bindings.blueViewCriteria.processQuery}"
queryOperationListener="#{bindings.blueViewCriteria.processQueryOperation}"
resultComponentId="t7" modeChangeVisible="false"
saveQueryMode="readOnly"/>

Comments
Post Details
Added on May 20 2022
5 comments
124 views