<div>Hi,</div><div><br></div><div>i would suggest 2 thinks to improve the scaffold from entities.</div><div><br></div><div>With forge 1.0.6, the project generated usign scaffold from-entity have wrong link in the nav bar for the principal link (with brand class).</div>
<div>In my case, i created a "flower" app and the html div is:</div><div><br></div><div><div class="navbar navbar-fixed-top"></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><div class="navbar-inner"></div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span><div class="container"></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><a href="/index.xhtml" class="brand">Flower</a></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span><div class="nav-collapse collapse"></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span><ul class="nav"></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span><li><a href="<a href="http://forge.jboss.org/docs/important_plugins/ui-scaffolding.html">http://forge.jboss.org/docs/important_plugins/ui-scaffolding.html</a>">How to Customize</a></li></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span></ul></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span></div></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></div></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span></div></div><div></div></div><div><br></div><div>In pageTemplate (<a href="https://github.com/forge/core/blob/master/scaffold-faces/src/main/resources/scaffold/faces/pageTemplate.xhtml">https://github.com/forge/core/blob/master/scaffold-faces/src/main/resources/scaffold/faces/pageTemplate.xhtml</a>) the link should be:</div>
<div><br></div><div><h:link id="brandLink" outcome="@{targetDir}/index.xhtml" styleClass="brand"> <h:outputText value="@{appName}" /></h:link></div><div>in place of:</div>
<div><a href="@{targetDir}/index.xhtml" class="brand">@{appName}</a></div><div><br></div><div>[to avoid a wrong redirect to <a href="http://localhost:8080/index.xhtml">http://localhost:8080/index.xhtml</a>]</div>
<div><br></div><div>And to eliminate the annoying log jboss server log:</div><div>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</div>
<div><br></div><div>you should add on web.xml:</div><div><br></div><div> <mime-mapping></div><div> <extension>ico</extension></div><div> <mime-type>image/x-icon</mime-type></div>
<div> </mime-mapping></div><div><br></div><div><br></div><div>Best regards</div><div><br></div><div>fiorenzo</div><div><p></p><p style="margin:0pt;padding:0pt;color:rgb(51,51,51);font-family:arial,helvetica,sans-serif;font-size:13.600000381469727px">
</p></div>