[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Mon Oct 23 08:25:22 EDT 2006
User: sbryzak2
Date: 06/10/23 08:25:22
Added: examples/seamspace/view home.xhtml index.html
securityError.xhtml welcome.xhtml
Log:
added project skeleton for social networking security example
Revision Changes Path
1.1 date: 2006/10/23 12:25:22; author: sbryzak2; state: Exp;jboss-seam/examples/seamspace/view/home.xhtml
Index: home.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>seamspace</title>
<link href="style/seamspace.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="header">
</div>
<div id="menubar">
</div>
<div id="content">
</div>
</body>
</html>
1.1 date: 2006/10/23 12:25:22; author: sbryzak2; state: Exp;jboss-seam/examples/seamspace/view/index.html
Index: index.html
===================================================================
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=home.seam">
</head>
</html>
1.1 date: 2006/10/23 12:25:22; author: sbryzak2; state: Exp;jboss-seam/examples/seamspace/view/securityError.xhtml
Index: securityError.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>A security error has occurred</h1>
<div class="errors"><h:messages globalOnly="true"/></div>
<p>
You do not have the necessary permissions to carry out the requested action.
</p>
<h:form>
<h:commandButton action="#{protectedAction.foo}" value="Protected action" class="button"/>
<h:commandButton action="#{login.logout}" value="Logout" class="button" />
<h:commandButton action="#{protectedAction.modifyCustomer}" value="Modify customer" class="button"/>
<h:commandButton action="#{protectedAction.modifyReadonlyCustomer}" value="Modify read-only customer" class="button"/>
</h:form>
</body>
</html>
1.1 date: 2006/10/23 12:25:22; author: sbryzak2; state: Exp;jboss-seam/examples/seamspace/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>SeamSpace</title>
</head>
<body>
<h1>Login successful!</h1>
<div class="errors"><h:messages globalOnly="true"/></div>
</body>
</html>
More information about the jboss-cvs-commits
mailing list