1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core">
11 <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
12 <f:viewAction action="#{beanHelper.copyUserToController()}" />
15 <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl">
16 <ui:define name="login_title">
17 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_USER_PROFILE}" />
20 <ui:define name="guest_title">
21 <h:outputText value="#{msg.PAGE_TITLE_INDEX_USER_PROFILE}" />
24 <ui:define name="content_header">
25 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_USER_PROFILE}" />
28 <ui:define name="content">
29 <ui:fragment rendered="#{userController.isPublicUserProfileEnabled()}">
30 <ui:fragment rendered="#{userController.isUserIdEmpty()}">
31 <ui:include src="/WEB-INF/templates/user/userid_error.tpl" />
34 <ui:fragment rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}">
35 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
36 <ui:param name="message" value="#{msg.ERROR_PROFILE_NOT_VISIBLE}" />
37 <ui:param name="styleClass" value="errors" />
41 <ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
43 <h:panelGrid styleClass="table" headerClass="table_header" footerClass="table_footer">
44 <f:facet name="header">
45 <h:outputText value="#{msg.PUBLIC_USER_PROFILE}" />
52 <ui:fragment rendered="#{not userController.isPublicUserProfileEnabled()}">
53 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
54 <ui:param name="message" value="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" />
55 <ui:param name="styleClass" value="errors" />