]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/admin/mobile/admin_mobile_delete.xhtml
MOJARRA - Please cherry-pick:
[pizzaservice-war.git] / web / admin / mobile / admin_mobile_delete.xhtml
index a7b54554665dd4394670350a6869f1ac03791abb..add75c9404731cda4e99b3a787ee3138f971291c 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:generic="http://mxchange.org/jsf/core"
                                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                                xmlns:h="http://xmlns.jcp.org/jsf/html"
                                xmlns:f="http://xmlns.jcp.org/jsf/core">
                        </h:panelGroup>
                </h:form>
 
-               <ui:fragment rendered="#{empty beanHelper.mobileNumber}">
-                       <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
-                               <ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
-                               <ui:param name="styleClass" value="errors" />
-                       </ui:include>
-               </ui:fragment>
+               <generic:outputMessageBox message="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" styleClass="errors" rendered="#{empty beanHelper.mobileNumber}" />
        </ui:define>
 </ui:composition>