[jboss-cvs] jboss-seam/examples/wiki/view/plugins/userControl ...
Christian Bauer
christian at hibernate.org
Sun Mar 18 11:44:39 EDT 2007
User: cbauer
Date: 07/03/18 11:44:39
Modified: examples/wiki/view/plugins/userControl plugin.xhtml
Log:
Basic access level/role security, automatic home page for activated users
Revision Changes Path
1.4 +2 -2 jboss-seam/examples/wiki/view/plugins/userControl/plugin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plugin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/userControl/plugin.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- plugin.xhtml 27 Feb 2007 13:21:45 -0000 1.3
+++ plugin.xhtml 18 Mar 2007 15:44:39 -0000 1.4
@@ -25,8 +25,8 @@
<s:div rendered="#{identity.loggedIn}">
<h:form>
<h:panelGroup>
- <h:outputText styleClass="userControlLabel" value="(#{authenticatedUser.firstname} #{authenticatedUser.lastname})"/>
- <h:commandLink styleClass="userControlLink" action="#{identity.logout}" tabindex="70">Logout</h:commandLink>
+ <h:outputText styleClass="userControlLabel" value="(#{currentUser.firstname} #{currentUser.lastname})"/>
+ <h:commandLink styleClass="userControlLink" action="#{authenticator.logout}" tabindex="70">Logout</h:commandLink>
<s:link styleClass="userControlLink" action="editCurrentUser" tabindex="71">Profile</s:link>
<s:link styleClass="userControlLink" action="listUsers" tabindex="72" accesskey="M"><u>M</u>embers</s:link>
</h:panelGroup>
More information about the jboss-cvs-commits
mailing list