- <div class="table_row">
- <div class="table_left_medium">
- <h:outputLabel for="landlineNumber" value="#{msg.ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER}" />
- </div>
-
- <div class="table_right_medium">
- <ui:include src="/WEB-INF/templates/generic/landline_selection_box.tpl">
- <ui:param name="targetController" value="#{adminPhoneController}" />
- </ui:include>
- </div>
- </div>
-
- <div class="table_footer">
- <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton styleClass="submit" type="submit" action="#{adminContactPhoneController.doLinkAddLandLineNumber(beanHelper.contact)}" value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_LAND_LINE_NUMBER}" />
- </div>
+ <core:outputLandLineInputTableRow targetController="#{adminPhoneController}" labelMessage="#{msg.ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER}" />
+
+ <p:panelGrid columns="2" layout="grid">
+ <p:commandButton
+ type="reset"
+ value="#{msg.BUTTON_RESET_FORM}"
+ />
+
+ <p:commandButton
+ process="@form"
+ type="submit"
+ action="#{adminContactPhoneController.doLinkAddLandLineNumber(beanHelper.contact)}"
+ value="#{msg.BUTTON_ADMIN_LINK_ADD_CONTACT_LAND_LINE_NUMBER}"
+ >
+ <f:param name="contactId" value="#{param.contactId}" />
+ </p:commandButton>
+ </p:panelGrid>