[jboss-user] [JBoss Seam] - Re: Error during model data update

jason_rency do-not-reply at jboss.com
Mon Jul 24 04:46:05 EDT 2006


the register.xhtml

  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | <html xmlns="http://www.w3.org/1999/xhtml"
  | 	  xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	  xmlns:h="http://java.sun.com/jsf/html"
  | 	  xmlns:s="http://jboss.com/products/seam/taglib">
  | <head>
  | 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  | 	<title>OTP REG SERVER</title>
  | 	<link href="css/screen.css" rel="stylesheet" type="text/css" />
  | </head>
  | <body id="pgHome">
  | <h:form>
  | <div id="document">
  | 	<div id="header">
  | 		<div id="title"><img src="img/hdr.title.gif" /></div>
  | 	</div>
  | 	<div id="container">
  | 		<div id="sidebar">		    
  | 			<h1>to register</h1>
  | 			<p>
  | 			   
  | 				here is to register a new user
  | 			</p>
  | 		</div>
  | 		<div id="content">
  | 			<div class="section">
  | 				<h1>Register</h1>
  | 			</div>
  | 			<div class="section">
  | 				<fieldset>
  | 				
  | 					<s:validateAll>
  | 						<div class="entry">
  | 							<div class="label"><h:outputLabel for="UId">Username:</h:outputLabel></div>
  | 							<div class="input">
  | 								<h:inputText id="UId" value="#{user.UId}" required="true"/><br/>
  | 								<span class="errors"><h:message for="UId" /></span>
  | 							</div>
  | 						</div>
  | 						<div class="entry">
  | 							<div class="label"><h:outputLabel for="PIN">Password:</h:outputLabel></div>
  | 							<div class="input">
  | 								<h:inputSecret id="PIN" value="#{register.PIN}" required="true"/><br/>
  | 								<span class="errors"><h:message for="PIN" /></span>
  | 							</div>
  | 						</div>
  | 						<div class="entry">
  | 							<div class="label"><h:outputLabel for="verify">Confirm PIN:</h:outputLabel></div>
  | 							<div class="input">
  | 								<h:inputSecret id="verify" value="#{register.verify}" required="true"/><br/>
  | 								<span class="errors"><h:message for="verify" /></span>
  | 							</div>
  | 						</div>
  | 						<div class="entry">
  | 							<div class="label"><h:outputLabel for="EMail">EMail:</h:outputLabel></div>
  | 							<div class="input">
  | 								<h:inputText id="EMail" value="#{user.EMail}" required="true"/><br/>
  | 								<span class="errors"><h:message for="EMail" /></span>
  | 							</div>
  | 						</div>
  | 						<div class="entry">
  | 							<div class="label"><h:outputLabel for="phoneNumber">Phone Number:</h:outputLabel></div>
  | 							<div class="input">
  | 								<h:inputText id="phoneNumber" value="#{user.phoneNumber}" required="false"/><br/>
  | 								<span class="errors"><h:message for="phoneNumber" /></span>
  | 							</div>
  | 						</div>
  | 					</s:validateAll>
  | 					
  | 					<div class="entry errors"><h:messages globalOnly="true" /></div>
  | 					<div class="entry">
  | 						<div class="label"> </div>
  | 						<div class="input">
  | 							<h:commandButton value="Register" action="#{register.register}" class="button"/> 
  | 							<s:link value="Cancel" action="login" linkStyle="button" buttonClass="button"/>
  | 						</div>
  | 					</div>
  | 					
  | 				</fieldset>
  | 			</div>			
  | 		</div>
  | 	</div>
  | 	<div id="footer">OTP registeration Server</div>
  | </div>
  | </h:form>
  | </body>
  | </html>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960263#3960263

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960263



More information about the jboss-user mailing list