Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-398

Support for favicon.ico

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.11
    • Themes
    • None
    • Debian GNU/Linux 3.1 (sarge), Java 1.5.0_03-b07, JBoss 4.0.5, Tobago 1.0.10

    Description

      Please add a feature that would allow tobago themes to include a favicon.ico file ( http://en.wikipedia.org/wiki/Favicon ). When using tobago 1.0.10 I get this warning if the favicon.ico file is placed in the theme's image directory...

      10:11:54,783 WARN [ResourceServlet] Unsupported file extension, will be ignored for security reasons. resource='org/apache/myfaces/tobago/renderkit/html/vermont/standard/image/favicon.ico'

      On the users mailing list Arvid Hülsebus suggested "adding a favIcon attribute to tc:page, which
      would in turn render a <link rel="icon" ...> element into the HTML header. Additionally the ResourceServlet has to be extended to support the .ico extension and map it to the content type "image/vnd.microsoft.icon" or "image/x-icon". Because this handling is missing you currently get the warning below."

      Attachments

        Activity

          People

            idus Arvid Huelsebus
            tcort Tom Cort
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: