[jboss-cvs] jboss-seam/examples/security/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Wed Aug 23 10:03:49 EDT 2006
User: sbryzak2
Date: 06/08/23 10:03:49
Modified: examples/security/view home.xhtml
Log:
Added demo account details to home page
Revision Changes Path
1.5 +29 -21 jboss-seam/examples/security/view/home.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: home.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/security/view/home.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- home.xhtml 1 Aug 2006 02:07:06 -0000 1.4
+++ home.xhtml 23 Aug 2006 14:03:49 -0000 1.5
@@ -5,29 +5,37 @@
<head>
<title>Seam Security</title>
-
- <style>
- label {
- width: 100px;
- }
- </style>
</head>
<body>
<h1>Security example</h1>
+ <p><b>Username:</b> demo <b>Password:</b> demo</p>
+
<h:form>
- <div>
- <h:outputLabel for="username">Login Name</h:outputLabel>
+ <table>
+ <tr>
+ <td>
+ <h:outputLabel for="username" styleClass="label">Login Name</h:outputLabel>
+ </td>
+ <td>
<h:inputText id="username" value="#{user.username}" style="width: 175px;"/>
+ </td>
+ <td>
<div class="errors"><h:message for="username"/></div>
- </div>
-
- <div>
- <h:outputLabel for="password">Password</h:outputLabel>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h:outputLabel for="password" styleClass="label">Password</h:outputLabel>
+ </td>
+ <td>
<h:inputSecret id="password" value="#{user.password}" style="width: 175px;"/>
- </div>
+ </td>
+ <td></td>
+ </tr>
+ </table>
<div class="errors"><h:messages globalOnly="true"/></div>
More information about the jboss-cvs-commits
mailing list