<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 &quot;flower&quot; app and the html div is:</div><div><br></div><div>&lt;div class=&quot;navbar navbar-fixed-top&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;div class=&quot;navbar-inner&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;div class=&quot;container&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>&lt;a href=&quot;/index.xhtml&quot; class=&quot;brand&quot;&gt;Flower&lt;/a&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>&lt;div class=&quot;nav-collapse collapse&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>&lt;ul class=&quot;nav&quot;&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>&lt;li&gt;&lt;a href=&quot;<a href="http://forge.jboss.org/docs/important_plugins/ui-scaffolding.html">http://forge.jboss.org/docs/important_plugins/ui-scaffolding.html</a>&quot;&gt;How to Customize&lt;/a&gt;&lt;/li&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>&lt;/ul&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>&lt;/div&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&lt;/div&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;/div&gt;</div><div>&lt;/div&gt;</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>&lt;h:link  id=&quot;brandLink&quot; outcome=&quot;@{targetDir}/index.xhtml&quot; styleClass=&quot;brand&quot;&gt; &lt;h:outputText value=&quot;@{appName}&quot; /&gt;&lt;/h:link&gt;</div><div>in place of:</div>
<div>&lt;a href=&quot;@{targetDir}/index.xhtml&quot; class=&quot;brand&quot;&gt;@{appName}&lt;/a&gt;</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>   &lt;mime-mapping&gt;</div><div>         &lt;extension&gt;ico&lt;/extension&gt;</div><div>         &lt;mime-type&gt;image/x-icon&lt;/mime-type&gt;</div>
<div>     &lt;/mime-mapping&gt;</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>