My Oracle Support Banner

Navigation Links fails upon accessing Events page when using Custom site template (Doc ID 1258035.1)

Last updated on JULY 10, 2023

Applies to:

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

Symptoms

When the spaces use custom template, the events links are not accessible.

Steps to reproduce it:

Perform a search and access the events displayed or access a the events using the event URL.  The event shows up as a page.
Now if we try accessing the links such as the administration link, Profile link and Home Page link it does not work because the links are pointing to '#' and can be seen below in the status bar in browser.

  1. Extend webcenter Spaces so OOTB default, custom site Template (PortalCentricSiteTemplate - listed as SampleSiteTemplate in Spaces) is available.
  2. In Spaces, log in as adminstrator (i.e. weblogic), and create new group space (GS).
  3. In the "Settings", "General" tab of the GS, select "SampleSiteTemplate" as the new Site Template, and click "Apply".
  4. In the "Services" tab, check to add "Group Space Events".
  5. In the "Pages" tab, check "Show Page" for "Events".
  6. Navigate to the Events page and create a new Event (for example, Title: My Event).
  7. To get to the ResourceView page, search for the new event.
  8. From the results view, select the event.
    This should navigate you to the resource view page (url: webcenter/faces/oracle/webcenter/webcenterapp/view/pages/shared/ResourceViewer.jspx)
  9. In the upper right corner (next to "Logout" link) click "weblogic" link, this link is responsible for navigation to the user Profile page. You will notice that this link does not work.
  10. In the botton footer section, click on the "Administration" link. Again this link is broken.


These links are only non-functional using a custom site template, where the current view page is the Event details (ResourceViewer.jspx). Code for the links are as follows:

User Profile:

<af:commandLink text="#{security.userDisplayName}"
actionListener="#{backing_wc_resourceHandler.resourceActioned}"
id="profileLink"
inlineStyle="white-space:nowrap"
partialSubmit="true"
rendered="#{security.authenticated}"
shortDesc="#{security.userDisplayName}">
<f:attribute name="tableId"
value="oracle.webcenter.peopleconnections.personalweb"/>
<f:attribute name="resourceId"
value="#{facesContext.externalContext.remoteUser}"/>
<f:attribute name="viewTitle"
value="#{security.userDisplayName}"/>
<f:attribute name="resourceTitle"
value="#{security.userDisplayName}"/>
<f:attribute name="resourceType"
value="ProfileGalleryView"/>
<f:attribute name="userId"
value="#{facesContext.externalContext.remoteUser}"/>
</af:commandLink>


Administration:

<af:commandLink text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION}"
actionListener="#{boilerBean.navigateToURI}"
inlineStyle="font-size:smaller;white-space:nowrap;color:White;"
id="adminstrationLink"
partialSubmit="true"
rendered="#{security.webCenterConfigAllowed and security.authenticated}"
shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION_DESC}">
<f:attribute name="webcenterURI"
value="/oracle/webcenter/webcenterapp/view/pages/admin/WebCenterAdmin-AdminCen
ter.jspx"/>
</af:commandLink>

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.