]
George Gastaldi closed FORGE-1786.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.5.1.Final
(was: 2.x Future)
Resolution: Done
Fixed.
We still need to add tests to the generated scaffold stuff
Generated index.html is broken in 2.5.1-SNAPSHOT
------------------------------------------------
Key: FORGE-1786
URL:
https://issues.jboss.org/browse/FORGE-1786
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 2.5.1.Final
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Priority: Blocker
Fix For: 2.5.1.Final
I'm scaffolding a simple JSF application with the latest 2.5.1-SNAPSHOT and I
realized that the generated {{index.html}} is broken. Until 2.5.0-FINAL the page looks
like this :
{code}
<meta http-equiv="refresh" content="0;url=./faces/index.xhtml"
/>
{code}
And in 2.5.1-SNAPSHOT the {{index.html}} has exactly the same content than the
{{index.xhtml}} :
{code}
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
template="/resources/scaffold/pageTemplate.xhtml">
<ui:param name="pageTitle" value="Welcome to Forge" />
<ui:define name="header">
Welcome to Forge
</ui:define>
<ui:define name="main">
<h2 class="success">
Your application is running.
</h2>
<p>
<a target="_blank"
href="http://forge.jboss.org/docs/index.html">Documentation&...
| <a target="_blank"
href="http://twitter.com/intent/tweet?text=I+just+built+and+deployed...
Excited!</a><br /> <a target="_blank"
href="http://jboss.org/forge"><br />
Forge Project</a> | <a target="_blank"
href="https://community.jboss.org/en/forge">User
Forums</a> | <a target="_blank"
href="https://issues.jboss.org/browse/FORGE">Report an issue</a>
</p>
</ui:define>
</ui:composition>
{code}
Something is broken (and a test is missing ;o)