Author: norman.richards(a)jboss.com
Date: 2008-04-09 15:22:16 -0400 (Wed, 09 Apr 2008)
New Revision: 7891
Added:
branches/Seam_2_0/examples/contactlist/resources/WEB-INF/classes/
branches/Seam_2_0/examples/contactlist/resources/messages.properties
Removed:
branches/Seam_2_0/examples/contactlist/resources/WEB-INF/classes/
Modified:
branches/Seam_2_0/examples/contactlist/view/editContact.xhtml
Log:
JBSEAM-2844
Added: branches/Seam_2_0/examples/contactlist/resources/messages.properties
===================================================================
--- branches/Seam_2_0/examples/contactlist/resources/messages.properties
(rev 0)
+++ branches/Seam_2_0/examples/contactlist/resources/messages.properties 2008-04-09
19:22:16 UTC (rev 7891)
@@ -0,0 +1,6 @@
+Contact_created New contact #{contact.firstName} #{contact.lastName} created
+Contact_deleted Contact #{contact.firstName} #{contact.lastName} deleted
+Contact_updated Contact #{contact.firstName} #{contact.lastName} updated
+Comment_created New comment posted
+
+javax.faces.component.UIInput.REQUIRED=value is required
Modified: branches/Seam_2_0/examples/contactlist/view/editContact.xhtml
===================================================================
--- branches/Seam_2_0/examples/contactlist/view/editContact.xhtml 2008-04-09 18:54:32 UTC
(rev 7890)
+++ branches/Seam_2_0/examples/contactlist/view/editContact.xhtml 2008-04-09 19:22:16 UTC
(rev 7891)
@@ -44,13 +44,13 @@
<tr class="prop">
<td class="name">First Name:</td>
<td class="value">
- <s:decorate><h:inputText id="firstName"
value="#{contact.firstName}"/></s:decorate>
+ <s:decorate><h:inputText id="firstName"
value="#{contact.firstName}" required="true"/></s:decorate>
</td>
</tr>
<tr class="prop">
<td class="name">Last Name:</td>
<td class="value">
- <s:decorate><h:inputText id="lastName"
value="#{contact.lastName}"/></s:decorate>
+ <s:decorate><h:inputText id="lastName"
value="#{contact.lastName}" required="true"/></s:decorate>
</td>
</tr>
<tr class="prop">
Show replies by date