<div dir="ltr">I&#39;m not sure I understand what you want to do, you want to be able to modify the <span style="font-family:arial,sans-serif;font-size:13px">favicon from an extension (like sample-extension) or from an new portal (like sample-portal)?</span></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 3:40 PM, Juraci Paixão Kröhling <span dir="ltr">&lt;<a href="mailto:jpkroehling@redhat.com" target="_blank">jpkroehling@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
<br>
We have a request to display a specific favicon for JBoss Portal, and it<br>
seems there&#39;s no &quot;easy&quot; (or correct) solution in place for that right now.<br>
<br>
The first intuitive solution would be to override the templates, to make<br>
them link to the desired favicon. This doesn&#39;t scales, as the whole<br>
template is duplicated and it will only cause headaches in the future.<br>
<br>
The second possible solution would be to incorporate the path to the<br>
favicon into the properties file, but this means having a fixed path to<br>
the favicon, which is a step backwards from what there is today: in one<br>
of the templates for /portal, it gets the favicon for the context path,<br>
so, if the current portal is /example-portal, it currently gets the<br>
favicon at /example-portal/favicon . With the favicon coming from the<br>
properties file, this would not be the case anymore, as all favicons<br>
would be coming from a fixed path.<br>
<br>
The third solution would be to build a FaviconService, that would take<br>
care of determining the proper favicon path. It sounds to me that this<br>
is a bit of overkill, but would be a clean solution.<br>
<br>
Of course, the best option would be to be possible to override the<br>
favicon from /portal, but this doesn&#39;t seems to be possible at the<br>
moment. It seems that only templates are overriden.<br>
<br>
Before proceeding with the third solution (which seems the most<br>
desirable as of now), I would like to get your comments, opinions and<br>
suggestions on how this could be better handled.<br>
<br>
Best Regards,<br>
Juca.<br>
<br>
<br>_______________________________________________<br>
gatein-dev mailing list<br>
<a href="mailto:gatein-dev@lists.jboss.org">gatein-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/gatein-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/gatein-dev</a><br></blockquote></div><br></div>