[jboss-cvs] jboss-seam/examples/security/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Wed Jul 26 02:03:14 EDT 2006
User: sbryzak2
Date: 06/07/26 02:03:14
Modified: examples/security/view home.xhtml
Added: examples/security/view welcome.xhtml
Log:
Updated security test app
Revision Changes Path
1.2 +10 -5 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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- home.xhtml 25 Jul 2006 06:56:16 -0000 1.1
+++ home.xhtml 26 Jul 2006 06:03:14 -0000 1.2
@@ -5,13 +5,17 @@
<head>
<title>Seam Security</title>
+
+ <style>
+ label {
+ width: 100px;
+ }
+ </style>
</head>
<body>
<h1>Security example</h1>
- <a href="protected/protected.seam">Protected page</a>
-
<h:form>
<div>
@@ -25,9 +29,10 @@
<h:inputSecret id="password" value="#{user.password}" style="width: 175px;"/>
</div>
+ <div class="errors"><h:messages globalOnly="true"/></div>
+
<h:commandButton action="#{login.login}" value="Login" class="button" />
- <h:commandButton action="#{protectedAction.foo}" value="Foo" class="button"/>
</h:form>
</body>
</html>
1.1 date: 2006/07/26 06:03:14; author: sbryzak2; state: Exp;jboss-seam/examples/security/view/welcome.xhtml
Index: welcome.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">
<head>
<title>Seam Security</title>
</head>
<body>
<h1>Login successful!</h1>
</body>
</html>
More information about the jboss-cvs-commits
mailing list