Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1786

Generated index.html is broken in 2.5.1-SNAPSHOT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.6.0.Final
    • 2.6.0.Final
    • Scaffold
    • None

    Description

      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 :

      <meta http-equiv="refresh" content="0;url=./faces/index.xhtml" /> 
      

      And in 2.5.1-SNAPSHOT the index.html has exactly the same content than the index.xhtml :

      <?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>
      			| <a target="_blank"
      				href="http://twitter.com/intent/tweet?text=I+just+built+and+deployed+a+webapp+using+%23Forge,+from+%23JBoss+-+Super+easy!+(+http://jboss.org/forge+)">Get
      				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>
      

      Something is broken (and a test is missing ;o)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: