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!

Generic listener for table filter queries

Bob BeckerJul 10 2016 — edited Jul 11 2016

Hi, I'm using JDeveloper 11.1.1.9.0. I'd like to create a generic query listener in a java bean that can work with different tables (specifically for the table filters, not for the af:query). I'm looking for something like Frank's approach to intercepting filter queries as described in: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/30-table-filter-queries-169172.pdf. But in that blog, you must hard-code the "DepartmentsView1Query" in the EL expression to invoke the default query listener.


I see that Frank has also published an excellent article about how to create a truly generic Table Selection Handler (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf), which I am currently using very successfully.


So what I'm looking for is a truly generic Query Selection Handler for table filters, which does not require any hardcoding of the data control name, so it can be used for any table. Is this possible? Thanks for any help that you can provide.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2016
Added on Jul 10 2016
2 comments
236 views