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!

Populating ADF Menu Model From Database Table Data

BilalSep 3 2017 — edited Sep 5 2017

Hi All,

I am working on a project that is intended to migrate Oracle Forms based application to Oracle JDeveloper ADF. The application menu is stored in the database into a table named Menus. The reason is that menu is not fixed/known at the design time rather dynamic. For example, someone in the company might open a new book (a concept in the Oracle Forms application) which, in turn, inserts a menu item row dynamically in the Menus table; Hence the menu changes over the time. In addition, Oracle Forms application presents Menus in multiple languages which is yet another reason for storing the menu in the database.

So, based on my little understanding, there could be two ways to go about migrating the Menus forms to ADF JDeveloper. These include:

  1. Creating an ADF application where ADF tree component is populated from the database Menus table using a hierarchical query.
  2. Using the ADF Menu Model component to display the application menu, which I really prefer over the first option.

Now, my question is that is there any way I create the ADF Menu Model object based on the data coming from the database table Menus.

Any help will be much appreciated.

Many Thanks and

Kind Regards,

Bilal

This post has been answered by Moe_ADF_541 on Sep 4 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2017
Added on Sep 3 2017
4 comments
355 views