<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:viewAction action="#{beanHelper.copyContactToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerContactConverted()}" />
</f:metadata>
</ui:define>
<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:viewAction onPostback="true" action="#{beanHelper.copyContactToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerContactConverted()}" />
</f:metadata>
</ui:define>
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_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 onPostback="true" action="#{beanHelper.notifyControllerContactConverted()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
</f:metadata>
</ui:define>
<div class="para">
<h:link outcome="admin_show_contact" value="#{msg.ADMIN_SHOW_FULL_CONTACT_DATA}">
- <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
+ <f:param name="contactId" value="#{adminContactPhoneController.contact.contactId}" />
</h:link>
</div>
</ui:fragment>
<h:outputFormat styleClass="errors" value="#{msg.ERROR_FAX_NUMBER_CONTACT_NOT_LINKED}" rendered="#{not empty beanHelper.faxNumber and not empty beanHelper.contact and beanHelper.contact.contactFaxNumber != beanHelper.faxNumber}">
- <f:param value="#{beanHelper.faxNumber.phoneId}" />
- <f:param value="#{beanHelper.contact.contactId}" />
+ <f:param value="#{adminContactPhoneController.phoneId}" />
+ <f:param value="#{adminContactPhoneController.contact.contactId}" />
</h:outputFormat>
</ui:define>
</ui:composition>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyFaxNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyFaxNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_CONTACT_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyFaxNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerFaxNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.landLineNumber}" converter="LandLineNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyLandLineNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerLandLineNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.landLineNumber}" converter="LandLineNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyLandLineNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerLandLineNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.landLineNumber}" converter="LandLineNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
- <f:viewAction action="#{beanHelper.copyLandLineNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerLandLineNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyMobileNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerMobileNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyMobileNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerMobileNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_PHONE_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyMobileNumberToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerMobileNumberConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
</div>
<div class="table_right_medium">
- <h:selectOneMenu styleClass="select" id="userContact" value="#{beanHelper.contact}" converter="ContactConverter">
+ <h:selectOneMenu styleClass="select" id="userContact" value="#{adminUserController.contact}" converter="ContactConverter">
<f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
<f:selectItems value="#{contactController.selectableContacts()}" var="contact" itemValue="#{contact}" itemLabel="#{contact.contactId}: #{msg[contact.contactPersonalTitle.messageKey]} #{contact.contactFirstName} #{contact.contactFamilyName}" />
</h:selectOneMenu>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
</f:metadata>
</ui:define>
<ui:define name="metadata">
<f:metadata>
<f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
- <f:viewAction action="#{beanHelper.copyUserToController()}" />
+ <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
</f:metadata>
</ui:define>