]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/landline/admin_landline_edit.xhtml
af623c74e9dbdc332e57ccf64f7b49d7b2328d04
[jjobs-war.git] / web / admin / landline / admin_landline_edit.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
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"
8         >
9
10         <f:metadata>
11                 <f:viewParam name="phoneId" value="#{beanHelper.landLineNumber}" converter="LandLineNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
12                 <f:viewAction action="#{beanHelper.copyLandLineNumberToController()}" />
13         </f:metadata>
14
15         <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
16                 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_LAND_LINE_NUMBER}</ui:define>
17
18                 <ui:define name="content_header">
19                         #{msg.CONTENT_TITLE_ADMIN_EDIT_LAND_LINE_NUMBER}
20                 </ui:define>
21
22                 <ui:define name="content">
23                         <h:form id="form_edit_landline" rendered="#{not empty beanHelper.landLineNumber}">
24                                 <h:panelGroup styleClass="table_medium" layout="block">
25                                         <div class="table_header">
26                                                 <h:outputFormat value="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER_TITLE}">
27                                                         <f:param value="#{beanHelper.landLineNumber.phoneId}" />
28                                                 </h:outputFormat>
29                                         </div>
30
31                                         <ui:include src="/WEB-INF/templates/admin/landline/admin_form_landline_data.tpl" />
32
33                                         <div class="table_footer">
34                                                 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
35                                                 <h:commandButton styleClass="submit" type="submit" id="edit_landline" value="#{msg.BUTTON_ADMIN_EDIT_LAND_LINE_NUMBER}" action="#{adminPhoneController.editMobileData()}" />
36                                         </div>
37                                 </h:panelGroup>
38                         </h:form>
39
40                         <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.landLineNumber}" />
41                 </ui:define>
42         </ui:composition>
43 </html>