<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<ui:define name="metadata">
<f:metadata>
<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}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:include src="/WEB-INF/templates/user/userid_error.tpl" />
</ui:fragment>
- <ui:fragment rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_PROFILE_NOT_VISIBLE}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
+ <widgets:outputMessageBox message="#{msg.ERROR_PROFILE_NOT_VISIBLE}" messageStyleClass="alert-danger" rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}" />
<ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
<div align="center">
- <h:panelGrid styleClass="table" headerClass="table_header" footerClass="table_footer">
+ <h:panelGrid styleClass="table" headerClass="table-header" footerClass="table-footer">
<f:facet name="header">
<h:outputText value="#{msg.PUBLIC_USER_PROFILE}" />
</f:facet>
+ <!-- @TODO Unfinished -->
</h:panelGrid>
</div>
</ui:fragment>
</ui:fragment>
- <ui:fragment rendered="#{not userController.isPublicUserProfileEnabled()}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
+ <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" messageStyleClass="alert-danger" rendered="#{not userController.isPublicUserProfileEnabled()}" />
</ui:define>
</ui:composition>