How to add FavIcon to the ADF page


I bet this is a common question among ADF developers who wish to have their own favicon for their page

Please follow the steps to achieve the same

add the following facet to the af:document tag of your adf page

<af:document id="d1">
..
..
..
<f:facet name="metaContainer">
 outputText escape="false"
 value='png" href="#{facesContext.externalContext.requestContextPath}/favicon.ico">' id="o1"/>
 </f:facet>
</af:document>


please note that the favicon specified in the value attribute in the outputext should be in the root-level of your web application

6 thoughts on “How to add FavIcon to the ADF page

  1. Pingback: Tweets that mention How to add FavIcon to the ADF page « They point the finger at me.. again! -- Topsy.com

  2. Pingback: Re: Add Favicon · Database, MySql, Oracle, SQL and more

    1. Dima

      Great article! I wodenr how easy it would be to sell actual Twitter T Shirts on twitter? Might have to try that one.Though twitter seems to be covered in adverts so hope it wont put people off.Thanks for the post

      Reply
    2. VInod

      Hi Ans,You can achieve this with those steps:1. Generate Entity Object Java class with Data Manipulation Methods optoin included for Detail entity2. Look for doDML(…) method in newly generated class, this method is executed during Create (with code 1 for Create operation)3. In doDML method you can access all attributes from Detail entity and using code available in my blog post – create row in this not dependent table. Just reuse code from createCountry(…) method.Regards,Andrejus

      Reply
  3. Polina

    Hi Andrejus,Getting same error when using form based authentication.In my web.xml I have now fooliwlng entries after changing the login authentocation method from adfAuthenticationoracle.adf.share.security.authentication.AuthenticationServletsuccess_url/faces/main.jspx1FORM/login.html/error.htmlAnd when I login, , I get 403 forbidden error.Can you plz provide help to solve this.Using Jdev 11.1.1.2.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s