-
Sub-task
-
Resolution: Done
-
Major
-
2.16.2.Final
-
None
In the JSF scaffolding, it would be better to use the JSF <h:graphicImage> instead of <img> (to have a more JSF consistent code). There are two pages that would need to get changed :
In the pageTemplate.xhtml, we should replace
<img src='#{resource["forge-logo.png"]}' alt="Forge... get hammered" border="0" />
With :
<h:graphicImage value="#{resource['forge-logo.png']}" alt="Forge... get hammered" border="0" />
In the error.xhtml, we should replace
<img src='#{resource["jboss-community.png"]}' alt="JBoss and JBoss Community" width="254" height="31" border="0" />
With :
<h:graphicImage value="#{resource['jboss-community.png']}" alt="JBoss and JBoss Community" width="254" height="31" border="0" />
Add add xmlns:h="http://java.sun.com/jsf/html" to the namespaces.