<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:viewParam
+ name="landLineId"
+ 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.notifyControllerLandLineNumberConverted()}" />
</f:metadata>
</ui:define>
</ui:define>
<ui:define name="content">
- <core:outputMessageBox panelGroupId="errorHandlerEditLandline" message="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.landLineNumber}" />
-
- <h:form id="form_edit_landline" rendered="#{not empty beanHelper.landLineNumber}">
+ <h:form rendered="#{not empty beanHelper.landLineNumber}">
<h:panelGroup layout="block">
<div class="table-header">
<h:outputFormat value="#{msg.ADMIN_EDIT_LAND_LINE_NUMBER_TITLE}">
/>
<p:commandButton
- process="@form"
type="submit"
value="#{msg.BUTTON_ADMIN_EDIT_LAND_LINE_NUMBER}"
action="#{adminPhoneController.doChangeLandLineNumber()}"