]> git.mxchange.org Git - addressbook-war.git/commitdiff
broken commit: don't use c:choose in view!
authorRoland Haeder <roland@mxchange.org>
Mon, 19 Oct 2015 12:07:14 +0000 (14:07 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 19 Oct 2015 12:07:14 +0000 (14:07 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/WEB-INF/templates/generic/user_profile_link.tpl

index 0825e2a3b94d4f64cded0abd11a9e48acac16814..bef7fcd54972e9cacd721f5b58674b65e7665acc 100644 (file)
@@ -6,12 +6,13 @@
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
 
+       <h:outputText value="#{msg.ERROR_USER_INSTANCE_NOT_SET}" rendered="#{not empty loginController.}"
        <c:choose>
                <c:when test="#{user == null}">
                        <h:outputText class="notice" value="#{msg.ERROR_USER_INSTANCE_NOT_SET}" />
                </c:when>
 
-               <c:when test="profileController.isProfileLinkVisible(user)}">
+               <c:when test="#{profileController.isProfileLinkVisible(user)}">
                        <h:link id="userProfileLink" outcome="user_profile" title="#{msg.LINK_USER_PROFILE_TITLE}">
                                <h:outputText id="userName" value="#{user.userName}" />
                                <f:param name="userId" value="#{user.userId}" />