Shay Shmeltzer's Oracle Development Tools Tips

  • November 20, 2008

The Navigation List - select something and update the page

Shay Shmeltzer
Director of Product Management - Oracle

A while ago I wanted to test youTube as a mean to distribute demos of JDeveloper so I did a quick recording of a tip showing how to use the navigation list item and put it up there - but the quality was bad - the image too small.

In the last week I had a couple of people ask the question of "I want to select an item from a list and have this influence what is shown in the rest of the page".

The answer is you use partial page rendering between the list and the section of the page - but if you are too lazy to code this - then the navigation list feature of ADF is what you are looking for - no coding or attribute setting needed.

I re-recorded the demo with JDeveloper 11 this time - and put it out on my YouTube Chanel.

You can see how to create this scenario here.

Join the discussion

Comments ( 7 )
  • Bernie Monday, November 24, 2008
    FYI: Some people (myself included) have YouTube blocked at work.
  • Stephane Tuesday, August 16, 2011

    Hi Shay, I would like to use the built in navigation list to filter a table. However the difference in my case comparing to your sample is that I am only dealing with one view (I don't have parent details relationship like in your sample (department - employee).) So in my navigation one choice list I want to populate the values that can be taken by one of my table attributes and for this purpose, I created a extra view with a select distinct from... I am able to populated the list with these values. Then I would like the filtered table to only show the records of this same table based on the selected choice.

    select table where attribute x = one choice selected list.

    Unfortunately when I drop the filtered table I don;t find a way to synchronized the one choice list with the table, so I get all the data instead of only the records where the attribute x = value in the list.

    Could not find a lot on the usage of navigation list on the web. Looks like what I need but I cannot figure out how to use it in my case where I have a single table and no relationship.

    Any help welcome.


  • shay Tuesday, August 16, 2011

    Stephane, you can use a query with parameters and have the LOV associated with your parameter, see this blog entry for a sample:


    or another approach - http://blogs.oracle.com/shay/entry/adf_query_with_parameters_and_1

  • Stephane Tuesday, August 16, 2011

    Thanks Shawn for your help, regarding your first sample would it be possible to have some default values showing when you get to the page instead of having to press on the executewithparam button? and would it be possible to update the table by just selecting the criteria in the one choice list without to have to press the same extra button? (Note that I have only one drop down why the sample the sample has two, so in my case I would like to save to user from the extra click...)


  • Shay Wednesday, August 17, 2011

    Stephane, you can execute the query with a default value for the parameter as a step in your pageflow before you reach the page.

    Something like option 2 here: http://blogs.oracle.com/shay/entry/setting_parameter_for_before_p

    As far as eliminating the button press - you can set the list item to autosubmit and in the valueChangeListener for the list component you can call the method of the button - something similar to how I made one button do two operations here: http://blogs.oracle.com/shay/2010/04/doing_two_declarative_operatio.html

  • Sam Thursday, September 13, 2012

    Hi Shay,

    Is it possible to build a left-navigation model using the ADF Navigation component or some other built-in component/services?

    Ideally the left navigation menu would be in the form of a hierarchical tree which also enables the users to select any node and view the respective data in the right panel.Any advice on how to achieve it?

    Best Regards,


  • Shay Thursday, September 13, 2012

    Sam, sounds like what you are looking for is a left navigation component that uses a dynamic region to change what is shown in the center.

    See basic example here:


    You should look into the UI Shell which provide even more advanced features for this:


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.