[jboss-cvs] jboss-seam/examples/glassfish/view ...
Michael Yuan
michael.yuan at jboss.com
Mon Feb 26 13:32:33 EST 2007
User: myuan
Date: 07/02/26 13:32:33
Modified: examples/glassfish/view home.xhtml
Log:
Glassfish example that really works this time. :)
Revision Changes Path
1.5 +3 -3 jboss-seam/examples/glassfish/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/glassfish/view/home.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- home.xhtml 26 Feb 2007 09:43:28 -0000 1.4
+++ home.xhtml 26 Feb 2007 18:32:33 -0000 1.5
@@ -21,15 +21,15 @@
<fieldset>
<div>
<h:outputLabel for="username">Login Name</h:outputLabel>
- <h:inputText id="username" value="#{org.jboss.seam.security.identity.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="#{org.jboss.seam.security.identity.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="#{org.jboss.seam.security.identity.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>
More information about the jboss-cvs-commits
mailing list