]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl
Continued with customer:
[pizzaservice-war.git] / web / WEB-INF / templates / admin / cellphone / admin_cellphone_add_show.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://xmlns.jcp.org/jsf/core"
5         xmlns:h="http://xmlns.jcp.org/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <ui:fragment rendered="#{empty cellphoneNumber and empty contact}">
9                 <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_CELLPHONE_NUMBER_CONTACT_NOT_SET}" />
10         </ui:fragment>
11
12         <ui:fragment rendered="#{empty cellphoneNumber and not empty contact}">
13                 <ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl">
14                         <ui:param name="contact" value="#{contact}" />
15                 </ui:include>
16         </ui:fragment>
17
18         <ui:fragment rendered="#{not empty cellphoneNumber and not empty contact}">
19                 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl">
20                         <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />
21                         <ui:param name="contact" value="#{contact}" />
22                 </ui:include>
23         </ui:fragment>
24 </ui:composition>