[jboss-cvs] jboss-seam/examples/dvdstore/view ...
Shane Bryzak
sbryzak at redhat.com
Mon Jul 23 20:29:01 EDT 2007
User: sbryzak2
Date: 07/07/23 20:29:01
Modified: examples/dvdstore/view browse.xhtml checkout.xhtml
complete.xhtml confirm.xhtml dvd.xhtml
showorders.xhtml
Log:
fixed validation problems
Revision Changes Path
1.2 +2 -2 jboss-seam/examples/dvdstore/view/browse.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: browse.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/browse.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- browse.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ browse.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -22,7 +22,7 @@
</ui:define>
<ui:define name="body">
- <f:subview rendered="#{searchResults==null}">
+ <f:subview id="noresults" rendered="#{searchResults==null}">
<p> This is the DVD search screen. Use the search box
to the right to search for DVDs. The search component
is a conversational Seam component. You can perform
@@ -51,7 +51,7 @@
</div>
</f:subview>
- <f:subview rendered="#{searchResults.rowCount == 0}">
+ <f:subview id="searchresults" rendered="#{searchResults.rowCount == 0}">
<h2>
<h:outputText value="#{messages.noSearchResultsHeader}" />
</h2>
1.2 +4 -4 jboss-seam/examples/dvdstore/view/checkout.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: checkout.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/checkout.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- checkout.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ checkout.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -26,7 +26,7 @@
to define the flow of the user interaction.
</p>
- <f:subview rendered="#{empty cart.cart}">
+ <f:subview id="emptycart" rendered="#{empty cart.cart}">
<p>Your cart is empty.</p>
<h:form>
@@ -34,7 +34,7 @@
</h:form>
</f:subview>
- <f:subview rendered="#{not empty cart.cart}">
+ <f:subview id="cartdetails" rendered="#{not empty cart.cart}">
<h:form>
<h:dataTable value="#{cart.cart}" var="item"
styleClass="dvdtable"
@@ -105,7 +105,7 @@
</h:panelGrid>
- <f:subview rendered="#{identity.loggedIn}">
+ <f:subview id="purchaseaction" rendered="#{identity.loggedIn}">
<h:form>
<h:commandButton action="#{checkout.createOrder}"
value="#{messages.checkoutPurchaseButton}" />
@@ -113,7 +113,7 @@
</f:subview>
</div>
- <f:subview rendered="#{!identity.loggedIn}">
+ <f:subview id="notloggedin" rendered="#{!identity.loggedIn}">
<p class="warning">You must be logged in to place an order</p>
</f:subview>
</div>
1.2 +2 -2 jboss-seam/examples/dvdstore/view/complete.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: complete.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/complete.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- complete.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ complete.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -17,7 +17,7 @@
</ui:define>
<ui:define name="body">
- <f:subview rendered="#{completedOrder == null}">
+ <f:subview id="no_order" rendered="#{completedOrder == null}">
<p>Your order could not be completed.</p>
<h:form>
@@ -25,7 +25,7 @@
</h:form>
</f:subview>
- <f:subview rendered="#{completedOrder != null}">
+ <f:subview id="orderdetail" rendered="#{completedOrder != null}">
<h2>#{messages.checkoutCompleteHeader}</h2>
<h:form>
<h:dataTable value="#{completedOrder.orderLines}"
1.2 +2 -2 jboss-seam/examples/dvdstore/view/confirm.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: confirm.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/confirm.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- confirm.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ confirm.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -19,11 +19,11 @@
<ui:define name="body">
<h1>Confirm Order</h1>
- <f:subview rendered="#{currentOrder==null}">
+ <f:subview id="no_order" rendered="#{currentOrder==null}">
<p>You have no order.</p>
</f:subview>
- <f:subview rendered="#{currentOrder != null}">
+ <f:subview id="orderdetail" rendered="#{currentOrder != null}">
<h:form>
<h:dataTable value="#{currentOrder.orderLines}" var="line"
styleClass="dvdtable"
1.2 +1 -1 jboss-seam/examples/dvdstore/view/dvd.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: dvd.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/dvd.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- dvd.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ dvd.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -21,7 +21,7 @@
<ui:define name="body">
<div class="productbox">
- <f:subview rendered="#{dvd.imageURL != null}">
+ <f:subview id="dvdimage" rendered="#{dvd.imageURL != null}">
<div class="productimage">
<img src="#{dvd.imageURL}" />
</div>
1.2 +139 -139 jboss-seam/examples/dvdstore/view/showorders.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: showorders.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/view/showorders.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- showorders.xhtml 28 Jun 2007 23:22:59 -0000 1.1
+++ showorders.xhtml 24 Jul 2007 00:29:01 -0000 1.2
@@ -21,11 +21,11 @@
<ui:define name="body">
<h1>Your orders:</h1>
- <f:subview rendered="#{!orders.rowAvailable}">
+ <f:subview id="no_orders" rendered="#{!orders.rowAvailable}">
<p>You have not placed any orders.</p>
</f:subview>
- <f:subview rendered="#{orders.rowAvailable}">
+ <f:subview id="ordersummary" rendered="#{orders.rowAvailable}">
<h:dataTable value="#{orders}" var="item"
styleClass="dvdtable"
@@ -55,7 +55,7 @@
</h:column>
</h:dataTable>
- <f:subview rendered="#{myorder != null}">
+ <f:subview id="orderdetails" rendered="#{myorder != null}">
<div class="cntInfo">
<h2>Order Details</h2>
More information about the jboss-cvs-commits
mailing list