Giter VIP home page Giter VIP logo

adf-tree-to-table-filterandselect's Introduction

adf-tree-to-table-filterandselect

A small Oracle ADF example of a tree filtering a table and selecting its row. Model is based on on standard Oracle HR. The example is exposing this hierarchy:

Locations

Departments

Employees

To run the example you must provide a suitable database connection to HR schema. To do this in Applications window open Application Resources - Connections - Database - hr@test and set needed connection values.

You may also want to remove custom timezone configuration needed in my environment. To do so right click on ViewController project - Project Properties and in Run/Debug section select Default run configuration. Click OK and restart application server.

When the example is running in your browser:

  1. In the tree select Texas - IT - Valli Pataballa.

You should see all IT department employees in the table and Valli Pataballa selected. Texas - IT

  1. Select Oxford - Sales - Peter Hall.

You should see all Sales department employees in the table and Peter Hall selected. Oxford - Sales

If that is so, your filtration and selection is working properly.

The key part of the filtration and selection is Target Data Source attribute. You can find it in your tree binding. We use it on Departments tree level to filter the table to the right; and on Employees tree level to select table row.

  1. Departments Target Data Source

This will select DepartmentsView1Iterator row a hence filtering employees table. Departments Target Data Source

  1. Employees Target Data Source

This will select EmployeesView1Iterator row making employees table selection. Employees Target Data Source

Oracle ADF/JDeveloper 12.1.3

adf-tree-to-table-filterandselect's People

Contributors

ilyacyclone avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.