[seam-commits] Seam SVN: r11438 - branches/enterprise/JBPAPP_5_0/examples/ui/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Aug 27 16:27:27 EDT 2009


Author: manaRH
Date: 2009-08-27 16:27:27 -0400 (Thu, 27 Aug 2009)
New Revision: 11438

Modified:
   branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidator.xhtml
   branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidatorWConvert.xhtml
   branches/enterprise/JBPAPP_5_0/examples/ui/view/template.xhtml
Log:
JBPAPP-2694

Modified: branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidator.xhtml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidator.xhtml	2009-08-27 12:35:44 UTC (rev 11437)
+++ branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidator.xhtml	2009-08-27 20:27:27 UTC (rev 11438)
@@ -5,31 +5,31 @@
 	<ui:define name="body">
 		<h:form>
 			<p>Validates that two java.lang.String inputs are equal (may be empty)</p>
-			<h:panelGrid columns="3">
+			<h:panelGrid columns="2">
 				<s:label for="name">Name</s:label>
 				<h:inputText id="name" value="#{equalityValidatorBean.name}" />
-				<h:message for="name" />
+<!--				<h:message for="name" />-->
 				<s:label for="nameVerification">Name Verification</s:label>
 				<h:inputText id="nameVerification">
 					<s:validateEquality for="name" message="Must be the same as name!" required="false" />
 				</h:inputText>
-				<h:message for="nameVerification" />
+<!--				<h:message for="nameVerification" />-->
 				<h:commandButton action="#{equalityValidatorBean.check}" value="Check name" />
 			</h:panelGrid>
 			</h:form>
 
 			<h:form>
 			<p>Validates that one number is greater than another</p>
-			<h:panelGrid columns="3">
+			<h:panelGrid columns="2">
 				<s:label for="min">Minimum age (e.g. 18)</s:label>
 				<h:inputText id="min" value="#{equalityValidatorBean.age}" />
-				<h:message for="min" />
+<!--				<h:message for="min" />-->
 				<s:label for="minVerification">Maximum age (e.g. 25)</s:label>
 				<h:inputText id="minVerification">
 					<f:convertNumber integerOnly="true" />
 					<s:validateEquality for="min" message="Must be larger than minimum!" operator="greater" />
 				</h:inputText>
-				<h:message for="minVerification" />
+<!--				<h:message for="minVerification" />-->
 				<h:commandButton action="#{equalityValidatorBean.check}" value="Check ages" />
 			</h:panelGrid>
 		</h:form>

Modified: branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidatorWConvert.xhtml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidatorWConvert.xhtml	2009-08-27 12:35:44 UTC (rev 11437)
+++ branches/enterprise/JBPAPP_5_0/examples/ui/view/equalityValidatorWConvert.xhtml	2009-08-27 20:27:27 UTC (rev 11438)
@@ -9,18 +9,18 @@
 	<ui:define name="body">
 		<p>Validates that two java.util.Date inputs are equal</p>
 		<h:form>
-			<h:panelGrid columns="3">
+			<h:panelGrid columns="2">
 				<s:label for="date">Date (yyyy-MM-dd)</s:label>
 				<h:inputText id="date" value="#{equalityValidatorBean.date}">
 					<f:convertDateTime pattern="yyyy-MM-dd" />
 				</h:inputText>
-				<h:message for="date" />
+<!--				<h:message for="date" />-->
 				<s:label for="dateVerification">Date Verification (yyyy-MM-dd)</s:label>
 				<h:inputText id="dateVerification">
 					<f:convertDateTime pattern="yyyy-MM-dd" />
 					<s:validateEquality for="date" />
 				</h:inputText>
-				<h:message for="dateVerification" />
+<!--				<h:message for="dateVerification" />-->
 				<h:commandButton action="#{equalityValidatorBean.checkDate}"
 					value="Check date" />
 			</h:panelGrid>

Modified: branches/enterprise/JBPAPP_5_0/examples/ui/view/template.xhtml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/ui/view/template.xhtml	2009-08-27 12:35:44 UTC (rev 11437)
+++ branches/enterprise/JBPAPP_5_0/examples/ui/view/template.xhtml	2009-08-27 20:27:27 UTC (rev 11438)
@@ -121,7 +121,7 @@
 <s:div styleClass="content">
 	<h1><code><h:outputText value="#{tagName}" /></code></h1>
 	<ui:insert name="body" />
-<!--	<h:messages /> -->
+    <h:messages /> 
 </s:div>
 </body>
 



More information about the seam-commits mailing list