]> git.mxchange.org Git - addressbook-war.git/commitdiff
A JSF tag needs to be id-ed, not a regular div tag.
authorRoland Haeder <roland@mxchange.org>
Sun, 17 Apr 2016 14:58:18 +0000 (16:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 17 Apr 2016 14:58:32 +0000 (16:58 +0200)
web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl
web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl

index f1aedf31600d2bddaab0fb28433814c346eb9421..80853298480469d0eeb3b132f9e794db7716e3a3 100644 (file)
                <h:column>
                        <h:outputLabel for="cellphoneLinks" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_LINKS}" />
 
-                       <div id="cellphoneLinks" class="data_field">
-                               <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl">
-                                       <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />
-                                       <ui:param name="contact" value="#{user.userContact}" />
-                                       <ui:param name="isShowPage" value="#{isShowPage}" />
-                               </ui:include>
-                       </div>
+                       <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl">
+                               <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />
+                               <ui:param name="contact" value="#{user.userContact}" />
+                               <ui:param name="isShowPage" value="#{isShowPage}" />
+                       </ui:include>
                </h:column>
        </h:panelGrid>
 </ui:composition>
index f3201442b745839a85ca1e0e8859cc133583a75a..d5c60cd0be691d1c9ac09c019c0ee90fdbeb7820 100644 (file)
@@ -7,7 +7,7 @@
 
        <h:outputText styleClass="errors" value="#{ERROR_PARAMETER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty cellphoneNumber}" />
 
-       <ui:fragment rendered="#{not empty cellphoneNumber}">
+       <ui:fragment id="cellphoneLinks" rendered="#{not empty cellphoneNumber}">
                <ul class="mini_nav">
                        <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
                                <li class="mini_link">