This portlet demonstrates using navigation from a portlet to control a specific book.
The JSP portlet provides portlet-based navigation by acquiring a book's context, sub-books, and pages and constructing a tree-like list of links to the sub-books and pages.
This portlet uses functionality similar to the Left Navigation Shell. The difference between the two samples is scope. This portlet provides navigation for a single book, and the left navigation shell provides navigation for the entire desktop.
This sample is located in the <BEA_HOME>/<WEBLOGIC_HOME>/samples/portal/portalApp/portalApp.work application.
To run the sample:
Import or copy this | to this directory (create if necessary) |
<WEBLOGIC_HOME>/samples/portal/portalApp/ |
<PORTAL_APP>/<project>/portlets/navigation/targeted/ |
<WEBLOGIC_HOME>/samples/portal/portalApp/ sampleportal/portlets/navigation/targeted/ targetedMenu.jsp |
<PORTAL_APP>/<project>/portlets/navigation/targeted/ |
<WEBLOGIC_HOME>/samples/portal/portalApp/ sampleportal/WEB-INF/src/examples/navigation/NavigationNode.java |
<PORTAL_APP>/<project>/ WEB-INF/src/examples/navigation/ |
<WEBLOGIC_HOME>/samples/portal/portalApp/ sampleportal/WEB-INF/src/examples/navigation/NavigationUtil.java |
<PORTAL_APP>/<project>/ WEB-INF/src/examples/navigation/ |