1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/admin/admin_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="metadata">
14 <f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
15 <f:viewAction action="#{beanHelper.notifyControllerMobileNumberConverted()}" />
19 <ui:define name="document_admin_title">
20 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_MOBILE_NUMBER}" />
23 <ui:define name="content_header">
24 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_MOBILE_NUMBER}" />
27 <ui:define name="content">
28 <core:outputMessageBox panelGroupId="errorHandlerEditMobile" message="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.mobileNumber}" />
30 <h:form rendered="#{not empty beanHelper.mobileNumber}">
31 <h:panelGroup layout="block">
32 <div class="table-header">
33 <h:outputFormat value="#{msg.ADMIN_EDIT_MOBILE_NUMBER_TITLE}">
34 <f:param value="#{beanHelper.mobileNumber.phoneId}" />
38 <core:outputAdminMobileDataFormFields mobileNumber="#{beanHelper.mobileNumber}" />
40 <p:panelGrid columns="2" layout="grid">
43 value="#{msg.BUTTON_RESET_FORM}"
48 value="#{msg.BUTTON_ADMIN_EDIT_MOBILE_NUMBER}"
49 action="#{adminPhoneController.doUpdateMobileNumber()}"