This content has been marked as final.
Show 4 replies
-
1. Re: favicon
ilya_shaikovsky Aug 12, 2009 3:55 AM (in response to elf)JSF f:facet just not supports more than one nested child.
-
2. Re: favicon
elf Aug 24, 2009 6:24 AM (in response to elf)I tried to do something like that:
<f:facet name="pageHeader" title="advisory" > <link rel='stylesheet' type='text/css' href='style.css' /> </f:facet> <f:facet name="pageHeader2" title="advisory2" > <link rel="icon" type="image/x-icon" href="images/favicon.ico"/> </f:facet>
but without success.
Please clarify, where I am wrong ? -
3. Re: favicon
m.a.knapp Aug 24, 2009 10:47 AM (in response to elf)Maybe the context path in the icon url is missing.
I had the same problem, I had to prepend the context path manually
bean codepublic String getContextPath() { return FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath(); }
jsf code<link rel="shortcut icon" type="image/x-icon" href="#{login.contextPath}/favicon.ico" />
-