3 Replies Latest reply on Sep 10, 2010 3:43 AM by specialagent.specialagentx.web.de

    how to change the seam-favicon?

    nimo22

      How can I change the seam-favicon?


      Where is the favicon located and how can I substitute the seam-favicon with a other favicon?


      I cannot find this seam.ico in my project (setup by seam-gen).


      Any ideas?

        • 1. Re: how to change the seam-favicon?
          nimo22

          I can use the standard way:



          <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">




          but I am interested to know, how SEAM have placed its favicon.
          I cannot find it. Can I change it via components.xml?

          • 2. Re: how to change the seam-favicon?
            nimo22

            hmm...and what about disabling all favicons of a Seam-Project.


            Does anyone know, how I can disable the seam-favicon.


            I cannot find the the coresponding icon or class which provides the seam-favicon.


            It is tedious to write



            <link rel="shortcut icon" href="none" type="image/x-icon">




            in all templates or xhtml-files..


            Any ideas?

            • 3. Re: how to change the seam-favicon?
              specialagent.specialagentx.web.de

              Hi,


              just place a file with name favicon.ico in your WebContent folder of your Eclipse project. It must the directly in the context root of your app. After restarting the server do a browser refresh and you'll see your custom favicon.


              The tag for the favicon is placed in the head of template.xhtml.


              Regards.