<ui:define name="metadata">
<f:metadata>
- <f:viewParam name="contactId" value="#{beanHelper.contact}" converter="ContactConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}" />
+ <f:viewParam
+ name="contactId"
+ value="#{beanHelper.contact}"
+ converter="ContactConverter"
+ required="true"
+ requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}"
+ converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}"
+ />
<f:viewAction action="#{beanHelper.notifyControllerContactConverted()}" />
</f:metadata>
</ui:define>
</ui:define>
<ui:define name="content">
- <core:outputMessageBox panelGroupId="errorHandlerEditContact" message="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
-
<h:form rendered="#{not empty beanHelper.contact}">
<h:inputHidden value="#{adminContactController.contactId}" />
<h:outputText value="#{msg.ADMIN_CONTACT_PERSONAL_DATA_MINIMUM_NOTICE}" />
</div>
- <core:outputAdminContactDataFormFields allowEmptyRequiredData="true" />
+ <ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl" />
<p:panelGrid columns="2" layout="grid">
<p:commandButton