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:composition template="/WEB-INF/templates/admin/admin_base.tpl">
11 <ui:define name="metadata">
13 <f:viewParam name="phoneId" value="#{beanHelper.landLineNumber}" converter="LandLineNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
14 <f:viewAction onPostback="true" action="#{beanHelper.copyLandLineNumberToController()}" />
18 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_LAND_LINE_NUMBER}</ui:define>
20 <ui:define name="content_header">
21 #{msg.CONTENT_TITLE_ADMIN_EDIT_LAND_LINE_NUMBER}
24 <ui:define name="content">
25 <h:form id="form_edit_landline" rendered="#{not empty beanHelper.landLineNumber}">
26 <h:panelGroup styleClass="table_medium" layout="block">
27 <div class="table_header">
28 <h:outputFormat value="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER_TITLE}">
29 <f:param value="#{beanHelper.landLineNumber.phoneId}" />
33 <ui:include src="/WEB-INF/templates/admin/landline/admin_form_landline_data.tpl" />
35 <div class="table_footer">
36 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
37 <h:commandButton styleClass="submit" type="submit" id="edit_landline" value="#{msg.BUTTON_ADMIN_EDIT_LAND_LINE_NUMBER}" action="#{adminPhoneController.editMobileData()}" />
42 <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.landLineNumber}" />