fiorenzo pizza created FORGE-655:
------------------------------------
Summary: scaffold from entity: wrong brand link, missing jboss-logo, add
mime-mapping in web.xml
Key: FORGE-655
URL:
https://issues.jboss.org/browse/FORGE-655
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.0.6.Final
Reporter: fiorenzo pizza
Priority: Minor
Fix For: 1.0.7.Final
1) wrong brand link
In pageTemplate
(
https://github.com/forge/core/blob/master/scaffold-faces/src/main/resourc...)
the link should be:
<h:link id="brandLink" outcome="(a){targetDir}/index.xhtml"
styleClass="brand"> <h:outputText value="@{appName}"
/></h:link>
in place of:
<a href="(a){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/resourc...)
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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira