[jboss-cvs] jboss-seam/examples/seampay/view ...
Norman Richards
norman.richards at jboss.com
Sun Oct 22 18:02:01 EDT 2006
User: nrichards
Date: 06/10/22 18:02:01
Modified: examples/seampay/view screen.css search.xhtml
Log:
update ui, fix cancel problems
Revision Changes Path
1.2 +8 -3 jboss-seam/examples/seampay/view/screen.css
(In the diff below, changes in quantity of whitespace are not shown.)
Index: screen.css
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seampay/view/screen.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- screen.css 20 Oct 2006 16:51:27 -0000 1.1
+++ screen.css 22 Oct 2006 22:02:01 -0000 1.2
@@ -71,29 +71,34 @@
}
-table {
+table.results {
width: 100%;
}
-th {
+
+table.results th {
background-color: #578BB8;
color: white;
font-family: Arial,sans-serif;
padding: 5px;
}
-td {
+
+table.results td {
background-color: #F0F0F0;
text-align: center;
}
+
.narrow {
width: 20%;
}
.wide {
width: 80%;
}
+
.first td {
background-color: #F0F0F0;
}
+
.second td {
background-color: white;
}
1.4 +7 -12 jboss-seam/examples/seampay/view/search.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: search.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seampay/view/search.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- search.xhtml 22 Oct 2006 19:40:02 -0000 1.3
+++ search.xhtml 22 Oct 2006 22:02:01 -0000 1.4
@@ -22,7 +22,7 @@
<h:messages styleClass="message"/>
<!-- search results -->
- <table>
+ <table class="results">
<tr>
<th>Id</th>
<th>Account Number</th>
@@ -49,9 +49,9 @@
<f:subview rendered="#{accountHome.idDefined}">
<h2>Payments from Account #{accountHome.instance.accountNumber}</h2>
- <table>
+ <table class="results">
<tr>
- <th>Active?</th>
+ <th>Status</th>
<th>Payee</th>
<th>Payment Amount</th>
<th>Created Date</th>
@@ -62,14 +62,11 @@
<ui:repeat value="#{accountHome.instance.payments}" var="payment">
<tr>
<td>
- <s:link action="#{paymentHome.cancel}" value="cancel" linkStyle="button" rendered="#{payment.active}">
+ <s:link action="#{paymentHome.cancel}" value="Cancel" linkStyle="button" rendered="#{payment.active}">
<f:param name="paymentId" value="#{payment.id}"/>
</s:link>
<h:outputText value="not active" rendered="#{!payment.active}" />
</td>
-
-
-
<td>#{payment.payee}</td>
<td>
<h:outputText value="#{payment.amount}">
@@ -105,7 +102,6 @@
<td>
<h:inputText id="payee" value="#{newPayment.payee}" required="true"/>
</td>
- <td width="60%"><h:message for="payee" /></td>
</tr>
<tr>
<td>Amount:</td>
@@ -114,7 +110,6 @@
<f:convertNumber type="currency" currencySymbol="$"/>
</ui:remove>
</h:inputText></td>
- <td><h:message for="amount" /></td>
</tr>
<tr>
<td>Date:</td>
@@ -122,8 +117,8 @@
<f:convertDateTime type="date" dateStyle="short"/>
</h:inputText>
+ <h:message for="paymentDate" />
</td>
- <td><h:message for="paymentDate" /></td>
</tr>
<tr>
@@ -138,7 +133,7 @@
</table>
</s:validateAll>
- <h:commandButton value="schedule"
+ <h:commandButton value="Schedule"
action="#{paymentHome.saveAndSchedule}" />
</h:form>
</f:subview>
More information about the jboss-cvs-commits
mailing list