xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" rendered="#{empty beanHelper.contact}" />
+ <ui:fragment rendered="#{empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
+ <ui:param name="message" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" />
+ <ui:param name="styleClass" value="errors" />
+ </ui:include>
+ </ui:fragment>
- <ui:fragment rendered="#{empty beanHelper.contact.contactLandLineNumber and not empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl" />
+ <ui:fragment rendered="#{empty beanHelper.contact.contactFaxNumber and not empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl" />
</ui:fragment>
- <ui:fragment rendered="#{not empty beanHelper.contact.contactLandLineNumber and not empty beanHelper.contact}">
- <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl" />
+ <ui:fragment rendered="#{not empty beanHelper.contact.contactFaxNumber and not empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/admin/fax/admin_fax_data.tpl" />
</ui:fragment>
</ui:composition>