1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8 <ui:fragment rendered="#{empty user}">
9 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
10 <ui:param name="message" value="#{msg.ERROR_PARAMETER_USER_NOT_SET}" />
11 <ui:param name="styleClass" value="errors" />
15 <h:outputText styleClass="notice" value="#{msg.USER_PROFILE_NOT_PUBLICLY_VISIBLE}" rendered="#{not empty user and not profileController.isProfileLinkVisibleByUser(user)}" />
17 <h:link id="userProfileLink" outcome="user_profile" title="#{msg.LINK_USER_PROFILE_TITLE}" rendered="#{not empty user and profileController.isProfileLinkVisibleByUser(user)}">
18 <h:outputText id="userName" value="#{user.userName}" />
19 <f:param name="userId" value="#{user.userId}" />