O'Reilly logo

Oracle WebCenter 11g PS3 Administration Cookbook by Yannick Ongena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Filtering navigation resources based upon business logic

When you have a complex navigation model, it is possible to filter specific resources based upon custom code. This way you can show or hide specific resources based upon your custom code.

Filtering resources is done by specifying a filter on the navigation model. The filter should implement the CatalogDefinitionFilter interface.

In this recipe, we will show how to filter the default catalog based upon custom code. We will first add to empty folders. One folder will be shown when we are not logged in and the other will be shown when the user has been authenticated.

Getting ready

For this recipe, we will need a WebCenter portal application.

How to do it...

First we will add the folders to the navigation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required