1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
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"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="metadata">
14 <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}" />
15 <f:viewAction action="#{beanHelper.notifyControllerUserConverted()}" />
19 <ui:define name="document_login_title">
20 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_USER_PROFILE}" />
23 <ui:define name="document_guest_title">
24 <h:outputText value="#{msg.PAGE_TITLE_INDEX_USER_PROFILE}" />
27 <ui:define name="content_header">
28 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_USER_PROFILE}" />
31 <ui:define name="content">
32 <core:outputMessageBox panelGroupId="errorUserProfileDisabled" message="#{msg.ERROR_GUEST_USER_PROFILE_DISABLED}" messageStyleClass="alert-danger" rendered="#{not userController.isPublicUserProfileEnabled()}" />
34 <core:outputMessageBox panelGroupId="errorUserIdEmpty" message="#{msg.TABLE_HEADER_ERROR_HANDLING_USER_ID}" rendered="#{userController.isUserIdEmpty()}" />
36 <ui:fragment rendered="#{userController.isPublicUserProfileEnabled()}">
37 <core:outputMessageBox panelGroupId="errorUserProfileHidden" message="#{msg.ERROR_PROFILE_NOT_VISIBLE}" messageStyleClass="alert-danger" rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}" />
39 <ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
41 <f:facet name="header">
42 <h:outputText value="#{msg.PUBLIC_USER_PROFILE}" />
44 <!-- @TODO Unfinished -->