You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Cort, Tom" <To...@state.vt.us> on 2007/05/10 16:27:24 UTC
[Tobago] Custom theme with favicon.ico
Hello,
I'm using tobago-1.0.10 and working on creating a new theme. I'd like to
include a favicon.ico file ( http://en.wikipedia.org/wiki/Favicon ), but I'm
having trouble figuring out where to put it. Putting it in the theme's image
directory doesn't seem to work...
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/fa
vicon.ico'
Is this something that needs to be fixed in tobago (i.e. add the ".ico" file
extension to tobago's supported file extension list), or is there a better
place for the file?
--
Tom Cort
Systems Developer
Vermont Department of Taxes
Re: [Tobago] Custom theme with favicon.ico
Posted by Arvid Hülsebus <ar...@atanion.com>.
I checked in a first, preliminary version for favicon support. You can
now specify an application icon on the page:
<tc:page applicationIcon="icon/favicon.ico" ...>
Regards,
Arvid
Cort, Tom wrote:
> Arvid Hülsebus wrote:
>
>> This is a fairly easy change and could be added to the next release.
>> Can you please add a feature request to JIRA?
>>
>
> http://issues.apache.org/jira/browse/TOBAGO-398
>
> Thanks for your help.
> --
> Tom Cort
> Systems Developer
> Vermont Department of Taxes
>
RE: [Tobago] Custom theme with favicon.ico
Posted by "Cort, Tom" <To...@state.vt.us>.
Arvid Hülsebus wrote:
> This is a fairly easy change and could be added to the next release.
> Can you please add a feature request to JIRA?
http://issues.apache.org/jira/browse/TOBAGO-398
Thanks for your help.
--
Tom Cort
Systems Developer
Vermont Department of Taxes
Re: [Tobago] Custom theme with favicon.ico
Posted by Arvid Hülsebus <ar...@atanion.com>.
Hello,
We were thinking about 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.
This is a fairly easy change and could be added to the next release. Can
you please add a feature request to JIRA?
Regards,
Arvid
Cort, Tom wrote:
> Hello,
>
> I'm using tobago-1.0.10 and working on creating a new theme. I'd like to
> include a favicon.ico file ( http://en.wikipedia.org/wiki/Favicon ), but I'm
> having trouble figuring out where to put it. Putting it in the theme's image
> directory doesn't seem to work...
>
> 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/fa
> vicon.ico'
>
> Is this something that needs to be fixed in tobago (i.e. add the ".ico" file
> extension to tobago's supported file extension list), or is there a better
> place for the file?
>
> --
> Tom Cort
> Systems Developer
> Vermont Department of Taxes
>
>