1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:core="http://mxchange.org/jsf/core/widgets"
5 xmlns:f="http://java.sun.com/jsf/core"
6 xmlns:h="http://java.sun.com/jsf/html"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8 xmlns:p="http://primefaces.org/ui">
11 @TODO summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER_DATA}"
13 <p:panelGrid styleClass="table table-full" columns="2" rendered="#{not empty beanHelper.user}">
14 <f:facet name="header">
15 <h:outputFormat value="#{msg.ADMIN_SHOW_USER_HEADER}">
16 <f:param value="#{beanHelper.user.userName}" />
17 <f:param value="#{beanHelper.user.userId}" />
22 <p:outputLabel for="userId" styleClass="table-data-label" value="#{msg.ADMIN_USER_ID}" />
24 <h:panelGroup styleClass="table-data-field" layout="block">
25 <p:link id="userId" outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{beanHelper.user.userId}">
26 <f:param name="userId" value="#{beanHelper.user.userId}" />
31 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
33 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.ADMIN_USER_NAME}" />
35 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
40 <p:outputLabel for="userCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
42 <h:outputText id="userCreated" styleClass="table-data-field" value="#{beanHelper.user.userCreated.time}">
43 <f:convertDateTime for="userCreated" type="both" />
48 <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
50 <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
53 <core:outputContactDataGridColumns />