{ const inPWA = () => { const mql = window.matchMedia( `(display-mode: standalone)` ); return ( mql && mql.matches ) || Boolean(navigator.standalone); }; if (!inPWA()) { let orgUrl = new URL(window.location); window.addEventListener('DOMContentLoaded', (event) => { window.history.replaceState({}, '', `https://forums.oracle.com/ords/apexds/post/fav-icon-for-webcenter-portal-application-does-not-work-on-1924${orgUrl.hash}`); }); } })();

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FAV ICON for Webcenter Portal application does not work on Google Chrome

AK_InfoKnightMay 12 2016 — edited May 13 2016

Hi all,

I need to add a fav iconĀ  to my Webcenter Portal Application.

I have added the following code to my application template

<af:outputText value="&lt;link rel='SHORTCUT ICON' href='#{facesContext.externalContext.requestContextPath}/fav.ico'/>" id="favicon" escape="false"/>

I have placed the fav icon in the application root folder.

This code works fine on Mozilla Firefox and Internet Explorer, but does not render on Chrome.

The behavior on chrome is very intermittent and weird.

Any help and suggestions on this topic are welcome.

Waiting for some really good answers.

- AK_InfoKnight

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2016
Added on May 12 2016
3 comments
1,234 views