1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core">
9 <ui:define name="metadata">
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 onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
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 <widgets:outputMessageBox message="#{msg.ERROR_PROFILE_NOT_VISIBLE}" styleClass="errors" rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}" />
36 <ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
38 <h:panelGrid styleClass="table" headerClass="table_header" footerClass="table_footer">
39 <f:facet name="header">
40 <h:outputText value="#{msg.PUBLIC_USER_PROFILE}" />
42 <!-- @TODO Unfinished -->
48 <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" styleClass="errors" rendered="#{not userController.isPublicUserProfileEnabled()}" />