1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core"
10 <ui:define name="metadata">
12 <f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
13 <f:viewAction action="#{beanHelper.copyMobileNumberToController()}" />
17 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
18 <ui:define name="admin_title">
19 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_MOBILE_NUMBER}" />
22 <ui:define name="content_header">
23 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_MOBILE_NUMBER}" />
26 <ui:define name="content">
27 <h:form id="form_edit_mobile" rendered="#{not empty beanHelper.mobileNumber}">
28 <h:panelGroup styleClass="table_medium" layout="block">
29 <div class="table_header">
30 <h:outputFormat value="#{msg.ADMIN_EDIT_MOBILE_NUMBER_TITLE}">
31 <f:param value="#{beanHelper.mobileNumber.phoneId}" />
35 <ui:include src="/WEB-INF/templates/admin/mobile/admin_form_mobile_data.tpl" />
37 <div class="table_footer">
38 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
39 <h:commandButton styleClass="submit" type="submit" id="edit_mobile" value="#{msg.BUTTON_ADMIN_EDIT_MOBILE_NUMBER}" action="#{adminPhoneController.editMobileData(beanHelper.mobileNumber)}" />
44 <ui:fragment rendered="#{empty beanHelper.mobileNumber}">
45 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
46 <ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" />
47 <ui:param name="styleClass" value="errors" />