]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/admin/landline/admin_landline_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / landline / admin_landline_list.xhtml
index 8767fe9312e8f3ca2c5b64e78e8449867dc48a95..c615e6e1105ee76880d1da23b3dde54f1b5cb449 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <ui:composition template="/WEB-INF/templates/admin/admin_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">
@@ -14,7 +15,7 @@
        </ui:define>
 
        <ui:define name="content">
-               <h:dataTable id="table_list_landline" var="landLineNumber" value="#{phoneController.allLandLineNumbers()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_LAND_LINES}" rendered="#{not phoneController.allLandLineNumbers().isEmpty()}">
+               <h:dataTable id="table_list_landline" var="landLineNumber" value="#{phoneController.allLandLineNumbers()}" styleClass="table-full" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_LAND_LINES}" rendered="#{not phoneController.allLandLineNumbers().isEmpty()}">
                        <h:column>
                                <f:facet name="header">
                                        <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
                        </h:column>
                </h:dataTable>
 
-               <ui:fragment rendered="#{phoneController.allLandLineNumbers().isEmpty()}">
-                       <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
-                               <ui:param name="message" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" />
-                               <ui:param name="styleClass" value="errors" />
-                       </ui:include>
-               </ui:fragment>
+               <widgets:outputMessageBox message="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" messageStyleClass="alert-danger" rendered="#{phoneController.allLandLineNumbers().isEmpty()}" />
        </ui:define>
 </ui:composition>