Links In Bread Crumbs Do Not Work After Accessing An External Link In Navigation Model (Doc ID 1628475.1)

Last updated on JUNE 26, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.1 and later
Information in this document applies to any platform.

Symptoms

In a very simple custom Portal application (11.1.1.7.1), a navigation model is defined as follows:
<Root>
  +Home     (Link - Page)
    ++page1 (Link - Page)
  +page2    (Link - Page)
    ++page3 (Link - Page)
  +Search   (Link - External link to http://www.google.com)
 

"Bread crumbs" task flow is also added to the page in the application.

The application is deployed accessed by the user...
- When the user clicks on the external link a new tab is opened to display the page (Google.com).
- User closes the newly opened tab to return to the application and clicks on the link in the Bread Crumbs.

Notice, no event is triggered in the first click.
Second click works fine.

Changes

In addition to the navigation model added to the application, the default (Globe) page template has been updated with the following snippet of code to display Bread Crumbs. This is the only update in the seeded template and the snippet of code to add the Bread Crumbs is from section "How to Render the Navigation Model as Breadcrumbs" of Guide to Developing Portals with Oracle WebCenter Portal and Oracle JDeveloper:

<af:panelGroupLayout id="pgl1" layout="vertical">
  <af:spacer id="sp1" height="20px"/>
  <af:breadCrumbs id="bc1" var="node"            
                  value="#{navigationContext.currentNavigationModel.menuModel[
                        'includeStartNode=false, depth=2']}">
    <f:facet name="nodeStamp">
      <af:commandNavigationItem id="cil1" text="#{node.title}"                              
                                actionListener="#{navigationContext.processAction}"
                                action="pprnav"                           
                                icon="#{node.attributes[pageFlowScope.tnBean.iconKey]}"
                                disabled="#{not node.navigable}">
        <f:attribute name="node" value="#{node}"/>
      </af:commandNavigationItem>
    </f:facet>
  </af:breadCrumbs>
  <af:spacer id="sp2" height="20px"/>
</af:panelGroupLayout>

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms