[jboss-cvs] jboss-seam/examples/registration/view ...
Gavin King
gavin.king at jboss.com
Wed Sep 27 20:25:34 EDT 2006
User: gavin
Date: 06/09/27 20:25:34
Modified: examples/registration/view index.html
Added: examples/registration/view register.jsp registered.jsp
Removed: examples/registration/view editContact.xhtml
Log:
Big Oops
Revision Changes Path
1.3 +1 -1 jboss-seam/examples/registration/view/index.html
(In the diff below, changes in quantity of whitespace are not shown.)
Index: index.html
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/registration/view/index.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- index.html 27 Sep 2006 04:09:02 -0000 1.2
+++ index.html 28 Sep 2006 00:25:34 -0000 1.3
@@ -1,5 +1,5 @@
<html>
<head>
- <meta http-equiv="Refresh" content="0; URL=search.seam">
+ <meta http-equiv="Refresh" content="0; URL=register.seam">
</head>
</html>
\ No newline at end of file
1.7 +0 -0 jboss-seam/examples/registration/view/register.jsp
(In the diff below, changes in quantity of whitespace are not shown.)
Index: register.jsp
===================================================================
RCS file: register.jsp
diff -N register.jsp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ register.jsp 28 Sep 2006 00:25:34 -0000 1.7
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<html xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <jsp:output doctype-root-element="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <jsp:directive.page contentType="text/html"/>
+ <head>
+ <title>Register New User</title>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <table border="0">
+ <s:validateAll>
+ <tr>
+ <td>Username</td>
+ <td><h:inputText value="#{user.username}" required="true"/></td>
+ </tr>
+ <tr>
+ <td>Real Name</td>
+ <td><h:inputText value="#{user.name}" required="true"/></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td><h:inputSecret value="#{user.password}" required="true"/></td>
+ </tr>
+ </s:validateAll>
+ </table>
+ <h:messages/>
+ <h:commandButton type="submit" value="Register" action="#{register.register}"/>
+ </h:form>
+ </f:view>
+ </body>
+</html>
1.5 +0 -0 jboss-seam/examples/registration/view/registered.jsp
(In the diff below, changes in quantity of whitespace are not shown.)
Index: registered.jsp
===================================================================
RCS file: registered.jsp
diff -N registered.jsp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ registered.jsp 28 Sep 2006 00:25:34 -0000 1.5
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<html xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <jsp:output doctype-root-element="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <jsp:directive.page contentType="text/html"/>
+ <head>
+ <title>Successfully Registered New User</title>
+ </head>
+ <body>
+ <f:view>
+ Welcome, <h:outputText value="#{user.name}"/>,
+ you are successfully registered as <h:outputText value="#{user.username}"/>.
+ </f:view>
+ </body>
+</html>
More information about the jboss-cvs-commits
mailing list