[seam-commits] Seam SVN: r14950 - in branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp: exp and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jun 25 03:37:55 EDT 2012


Author: manaRH
Date: 2012-06-25 03:37:51 -0400 (Mon, 25 Jun 2012)
New Revision: 14950

Modified:
   branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml
   branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html
   branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html
Log:
fixed bz #830196 booking eclipse errors

Modified: branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml	2012-06-22 13:56:55 UTC (rev 14949)
+++ branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml	2012-06-25 07:37:51 UTC (rev 14950)
@@ -10,7 +10,7 @@
                  http://jboss.org/schema/seam/security http://jboss.org/schema/seam/security-2.3.xsd
                  http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd">
     
-    <core:init jndi-pattern="${jndiPattern}" debug="true" distributable="${distributable}"/>   
+    <core:init jndi-pattern="${jndiPattern}" debug="true" distributable="@distributable@"/>   
         
     <core:manager conversation-timeout="120000"
                   concurrent-request-timeout="500"

Modified: branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html	2012-06-22 13:56:55 UTC (rev 14949)
+++ branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html	2012-06-25 07:37:51 UTC (rev 14950)
@@ -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()"/>
+          <input type="button" value="Close Window" onclick="window.close()"></input>
        </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_0/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html	2012-06-22 13:56:55 UTC (rev 14949)
+++ branches/enterprise/WFK-2_0/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html	2012-06-25 07:37:51 UTC (rev 14950)
@@ -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>
 



More information about the seam-commits mailing list