• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta2
    • 2.16.2.Final
    • Scaffold
    • 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.

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: