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"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="metadata">
12 <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}" />
13 <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
17 <ui:define name="document_login_title">
18 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_USER_PROFILE}" />
21 <ui:define name="document_guest_title">
22 <h:outputText value="#{msg.PAGE_TITLE_INDEX_USER_PROFILE}" />
25 <ui:define name="content_header">
26 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_USER_PROFILE}" />
29 <ui:define name="content">
30 <widgets:outputMessageBox id="error-user-profile-disabled" message="#{msg.ERROR_GUEST_USER_PROFILE_DISABLED}" messageStyleClass="alert-danger" rendered="#{not userController.isPublicUserProfileEnabled()}" />
32 <widgets:outputMessageBox id="error-user-id-empty" message="#{msg.TABLE_HEADER_ERROR_HANDLING_USER_ID}" rendered="#{userController.isUserIdEmpty()}" />
34 <ui:fragment rendered="#{userController.isPublicUserProfileEnabled()}">
35 <widgets:outputMessageBox id="error-user-profile-hidden" message="#{msg.ERROR_PROFILE_NOT_VISIBLE}" messageStyleClass="alert-danger" rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}" />
37 <ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
38 <p:panelGrid styleClass="table table-full">
39 <f:facet name="header">
40 <h:outputText value="#{msg.PUBLIC_USER_PROFILE}" />
42 <!-- @TODO Unfinished -->