The Navigation List - select something and update the page

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.


FYI: Some people (myself included) have YouTube blocked at work.

Posted by Bernie on November 24, 2008 at 06:42 AM PST #

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.

Posted by Stephane on August 16, 2011 at 12:31 PM PDT #

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 -

Posted by shay on August 16, 2011 at 03:34 PM PDT #

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...)

Posted by Stephane on August 16, 2011 at 04:15 PM PDT #

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:
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:

Posted by Shay on August 17, 2011 at 04:21 AM PDT #

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,

Posted by Sam on September 13, 2012 at 12:28 AM PDT #

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:

Posted by Shay on September 13, 2012 at 02:11 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

I'm a Director of Product Management for Oracle's Cloud Development Tools and Frameworks.
Follow me:

« June 2016