]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/cellphone/admin_cellphone_edit.xhtml
Continued with cellphone number edit: (please cherry-pick)
[jjobs-war.git] / web / admin / cellphone / admin_cellphone_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="#{adminPhoneController.cellPhoneNumber}" converter="CellphoneConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
12         </f:metadata>
13
14         <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
15                 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_CELLPHONE}</ui:define>
16
17                 <ui:define name="content_header">
18                         #{msg.CONTENT_TITLE_ADMIN_EDIT_CELLPHONE}
19                 </ui:define>
20
21                 <ui:define name="content">
22                         <h:form id="form_edit_cellphone" rendered="#{not empty adminPhoneController.cellPhoneNumber}">
23                                 <div class="table_medium">
24                                         <div class="table_header">
25                                                 #{msg.ADMIN_EDIT_CELLPHONE_TITLE}
26                                         </div>
27
28                                         <ui:include src="/WEB-INF/templates/admin/cellphone/admin_form_cellphone_data.tpl" />
29
30                                         <div class="table_footer">
31                                                 <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
32                                                 <h:commandButton styleClass="submit" type="submit" id="edit_user" value="#{msg.BUTTON_ADMIN_EDIT_CELLPHONE}" action="#{adminPhoneController.editCellphoneData()}" />
33                                         </div>
34                                 </div>
35                         </h:form>
36
37                         <h:outputText styleClass="errors" value="#{msg.ERROR_ADMIN_BEAN_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty adminPhoneController.cellPhoneNumber}" />
38                 </ui:define>
39         </ui:composition>
40 </html>