Author: manaRH
Date: 2009-04-22 10:45:25 -0400 (Wed, 22 Apr 2009)
New Revision: 10586
Modified:
branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/register.xhtml
Log:
JBPAPP-1928
Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/register.xhtml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/register.xhtml 2009-04-22
14:39:18 UTC (rev 10585)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/register.xhtml 2009-04-22
14:45:25 UTC (rev 10586)
@@ -43,32 +43,33 @@
</div>
<h:form id="registration">
- <p>
- <b>seamBay User ID</b><br/>
- <h:inputText id="username"
value="#{newuser.username}"/>
- <div class="validationError"><h:message
id="usernameMessage" for="username"/></div>
- </p>
-
- <p>
- <b>Password</b><br/>
- <h:inputSecret id="password"
value="#{newuser.password}"/>
- <div class="validationError"><h:message
id="passwordMessage" for="password"/></div>
- </p>
-
- <p>
- <b>Confirm Password</b><br/>
- <h:inputSecret id="confirm"
value="#{registerAction.confirm}"/>
- <div class="validationError"><h:message
id="confirmMessage" for="confirm"/></div>
- </p>
-
- <p>
- <b>Location</b><br/>
- <h:inputText id="location" class="location"
value="#{newuser.account.location}"/>
- <div class="validationError"><h:message
id="locationMessage" for="location"/></div>
- </p>
-
- <h:commandButton id="submit" value="Register >"
action="#{registerAction.register}"/>
-
+ <s:validateAll>
+ <p>
+ <b>seamBay User ID</b><br/>
+ <h:inputText id="username"
value="#{newuser.username}"/>
+ <div class="validationError"><h:message
id="usernameMessage" for="username"/></div>
+ </p>
+
+ <p>
+ <b>Password</b><br/>
+ <h:inputSecret id="password"
value="#{newuser.password}"/>
+ <div class="validationError"><h:message
id="passwordMessage" for="password"/></div>
+ </p>
+
+ <p>
+ <b>Confirm Password</b><br/>
+ <h:inputSecret id="confirm"
value="#{registerAction.confirm}"/>
+ <div class="validationError"><h:message
id="confirmMessage" for="confirm"/></div>
+ </p>
+
+ <p>
+ <b>Location</b><br/>
+ <h:inputText id="location" class="location"
value="#{newuser.account.location}"/>
+ <div class="validationError"><h:message
id="locationMessage" for="location"/></div>
+ </p>
+
+ <h:commandButton id="submit" value="Register >"
action="#{registerAction.register}"/>
+ </s:validateAll>
</h:form>
<hr class="thinLine"/>