[jboss-cvs] jboss-seam/examples/hibernate/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Thu Feb 15 03:40:29 EST 2007
User: sbryzak2
Date: 07/02/15 03:40:29
Modified: examples/hibernate/view home.xhtml template.xhtml
Log:
use security api
Revision Changes Path
1.3 +68 -68 jboss-seam/examples/hibernate/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/hibernate/view/home.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- home.xhtml 5 Apr 2006 22:16:22 -0000 1.2
+++ home.xhtml 15 Feb 2007 08:40:29 -0000 1.3
@@ -18,14 +18,14 @@
<fieldset>
<div>
<h:outputLabel for="username">Login Name</h:outputLabel>
- <h:inputText id="username" value="#{user.username}" style="width: 175px;" />
+ <h:inputText id="username" value="#{identity.username}" style="width: 175px;" />
</div>
<div>
<h:outputLabel for="password">Password</h:outputLabel>
- <h:inputSecret id="password" value="#{user.password}" style="width: 175px;" />
+ <h:inputSecret id="password" value="#{identity.password}" style="width: 175px;" />
</div>
<div class="errors"><h:messages globalOnly="true"/></div>
- <div class="buttonBox"><h:commandButton action="#{login.login}" value="Account Login" class="button" /></div>
+ <div class="buttonBox"><h:commandButton action="#{identity.login}" value="Account Login" class="button" /></div>
<div class="notes"><h:commandLink action="register">Register User</h:commandLink> | Ask for Help</div>
</fieldset>
</div>
1.4 +35 -35 jboss-seam/examples/hibernate/view/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate/view/template.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- template.xhtml 23 Nov 2006 22:50:38 -0000 1.3
+++ template.xhtml 15 Feb 2007 08:40:29 -0000 1.4
@@ -16,7 +16,7 @@
<h:form>
Welcome #{user.name}
| <h:commandLink action="password">Settings</h:commandLink>
- | <h:commandLink action="#{logout.logout}">Logout</h:commandLink>
+ | <h:commandLink action="#{identity.logout}">Logout</h:commandLink>
</h:form>
</div>
</div>
More information about the jboss-cvs-commits
mailing list