[seam-commits] Seam SVN: r15258 - branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 11 10:22:58 EDT 2012


Author: manaRH
Date: 2012-10-11 10:22:58 -0400 (Thu, 11 Oct 2012)
New Revision: 15258

Modified:
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/bookingExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/confirmExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/introExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/loginExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/mainExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/registerExp.html
   branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/workspaceExp.html
Log:
jee6 example exp/ html files validation fixes

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/bookingExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/bookingExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/bookingExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,9 +15,9 @@
     <h2>Conversations</h2>
     <img src="../img/header_line.gif" />
     
-       <form>
-          <input type="button" value="Close Window" onclick="window.close()"/>
-       </form>
+    <form>
+       <input type="button" value="Close Window" onclick="window.close()"/>
+    </form>
 
     <p>
        The hotel booking "wizard" is implemented by a conversation-scoped

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/confirmExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/confirmExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/confirmExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/introExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/introExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/introExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,13 +15,11 @@
     <h2>What is JBoss Seam</h2>
     <img src="../img/header_line.gif" />
     
-    <p>
-       <center>
+    <center>
        <form>
-          <INPUT type="button" value="Close Window" onclick="window.close()">
+          <input type="button" value="Close Window" onclick="window.close()"></input>
        </form>
-       </center>
-    </p>
+    </center>
     
     <p>
        EJB 3.0 and JSF are perhaps the most exciting new developments in the Java EE 5 platform. 
@@ -58,15 +56,13 @@
        -->
     </p>
 
-    <p>
-       <center>
-       <form>
-          <INPUT type="button" value="Close Window" onclick="window.close()">
-       </form>
-       </center>
-    </p>
+	<center>
+	<form>
+		<input type="button" value="Close Window" onclick="window.close()" />
+	</form>
+	</center>
 
-  </div>
+		</div>
 </div>
 
 </body>

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/loginExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/loginExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/loginExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -14,11 +14,11 @@
     <div class="numbox">2</div>
     <h2>What happens when you login?</h2>
     <img src="../img/header_line.gif" />
-    
+    <center>
        <form>
           <input type="button" value="Close Window" onclick="window.close()"/>
        </form>
-    
+    </center>
     <p>
        The login page is defined using pure XHTML with JSF controls. 
        The form uses JSF EL value binding and method binding 
@@ -30,7 +30,7 @@
 
 <code class="block">
 &lt;div&gt;
-    &lt;h:outputLabel for="username">Login Name&lt;/h:outputLabel>
+    &lt;h:outputLabel for="username"&gt;Login Name&lt;/h:outputLabel>
     &lt;h:inputText id="username" value="#{identity.username}" />
 &lt;/div&gt;
 &lt;div&gt;

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/mainExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/mainExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/mainExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -91,7 +91,7 @@
    
    public boolean isNextPageAvailable()
    {
-      return hotels!=null && hotels.size()==pageSize;
+      return hotels!=null &amp;&amp; hotels.size()==pageSize;
    }
    
    public int getPageSize() {
@@ -137,7 +137,7 @@
 <code class="block">
 &lt;h:outputText value="No Hotels Found" 
               rendered="#{hotels != null and hotels.rowCount==0}"/&gt;
-&lt;h:dataTable value="#{hotels}" var="hot" rendered="#{hotels.rowCount>0}"&gt;
+&lt;h:dataTable value="#{hotels}" var="hot" rendered="#{hotels.rowCount&gt;0}"&gt;
 	&lt;h:column&gt;
 		&lt;f:facet name="header"&gt;Name&lt;/f:facet&gt;
 		#{hot.name}
@@ -202,11 +202,11 @@
    }
 }
 </code>
-
+    <center>
        <form>
-          <input type="button" value="Close Window" onclick="window.close()"/>
+          <input type="button" value="Close Window" onclick="window.close()"></input>
        </form>
-
+    </center>
   </div>
 </div>
 

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/registerExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/registerExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/registerExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Modified: branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/workspaceExp.html
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/workspaceExp.html	2012-10-11 14:22:46 UTC (rev 15257)
+++ branches/enterprise/WFK-2_1/examples/jee6/jee6-web/src/main/webapp/exp/workspaceExp.html	2012-10-11 14:22:58 UTC (rev 15258)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,13 +15,11 @@
     <h2>The Workspace List</h2>
     <img src="../img/header_line.gif" />
     
-    <p>
-       <center>
+    <center>
        <form>
-          <INPUT type="button" value="Close Window" onclick="window.close()">
+          <input type="button" value="Close Window" onclick="window.close()"/>
        </form>
-       </center>
-    </p>
+    </center>
 
     <p>
        The workspace list allows the user to switch between multiple
@@ -79,14 +77,12 @@
        workspace list in your application.
     </p>
 
-    <p>
-       <form>
-      <input type="button" value="Close Window" onclick="window.close()"/>
-       </form>
-    </p>
+	<form>
+		<input type="button" value="Close Window" onclick="window.close()" />
+	</form>
 
-  </div>
 </div>
+</div>
 
 </body>
 </html>



More information about the seam-commits mailing list