-
Bug
-
Resolution: Done
-
Minor
-
1.0.6.Final
1) wrong brand link
In pageTemplate (https://github.com/forge/core/blob/master/scaffold-faces/src/main/resources/scaffold/faces/pageTemplate.xhtml) the link should be:
<h:link id="brandLink" outcome="@
{targetDir}/index.xhtml" styleClass="brand"> <h:outputText value="@{appName}" /></h:link>in place of:
<a href="@{targetDir}
/index.xhtml" class="brand">@
{appName}</a>
[to avoid a wrong redirect to http://localhost:8080/index.xhtml]
2)missing resource jboss-community.png
in the resource folder the image jboss-community.png doesn't exist (it's used in the error page:
https://github.com/forge/core/blob/master/scaffold-faces/src/main/resources/scaffold/faces/error.xhtml)
3) add mime-mapping in web.xml
To eliminate the annoying log jboss server log:
23:59:54,914 AVVERTENZA [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-1) JSF1091: No mime type could be found for file favicon.ico. To resolve this, add a mime-type mapping to the applications web.xml
you should add on web.xml:
<mime-mapping>
<extension>ico</extension>
<mime-type>image/x-icon</mime-type>
</mime-mapping>
- incorporates
-
FORGE-657 Missing mime-mapping in web.xml
- Closed