[jboss-cvs] jboss-seam/examples/jpa/view ...
Shane Bryzak
sbryzak at redhat.com
Sun Feb 18 23:07:23 EST 2007
User: sbryzak2
Date: 07/02/18 23:07:23
Modified: examples/jpa/view home.xhtml template.xhtml
Log:
use security api
Revision Changes Path
1.5 +63 -63 jboss-seam/examples/jpa/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/jpa/view/home.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- home.xhtml 9 Jan 2007 20:53:45 -0000 1.4
+++ home.xhtml 19 Feb 2007 04:07:23 -0000 1.5
@@ -21,15 +21,15 @@
<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 class="errors"><h:message for="username"/></div>
</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 id="login" action="#{login.login}" value="Account Login"/></div>
+ <div class="buttonBox"><h:commandButton id="login" action="#{identity.login}" value="Account Login"/></div>
<div class="notes"><s:link id="register" view="/register.xhtml" value="Register New User"/></div>
</fieldset>
</h:form>
1.6 +36 -36 jboss-seam/examples/jpa/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/jpa/view/template.xhtml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- template.xhtml 9 Jan 2007 20:53:45 -0000 1.5
+++ template.xhtml 19 Feb 2007 04:07:23 -0000 1.6
@@ -18,7 +18,7 @@
Welcome #{user.name}
| <s:link id="search" view="/main.xhtml" value="Search" propagation="none"/>
| <s:link id="settings" view="/password.xhtml" value="Settings" propagation="none"/>
- | <s:link id="logout" action="#{login.logout}" value="Logout"/>
+ | <s:link id="logout" action="#{identity.logout}" value="Logout"/>
</div>
</div>
<div id="container">
More information about the jboss-cvs-commits
mailing list