]> git.mxchange.org Git - addressbook-war.git/commitdiff
not working with rendered on ui:define ... :-( now the work-around ui:fragment needs...
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 11:51:50 +0000 (13:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 11:51:50 +0000 (13:51 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/login/login_list_sharing_addressbooks.xhtml
web/user/user_profile.xhtml

index c8649da8814d25a52c62ad1a35ee646b2aaa07c8..471a1f18374c6b081bd5bc5fe8c07a9666359966 100644 (file)
                        #{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS}
                </ui:define>
 
-               <ui:define name="content" rendered="#{shareController.isShareeUserIdSet()}">
-                       Here goes your content.
-               </ui:define>
+               <ui:define name="content">
+                       <ui:fragment rendered="#{shareController.isShareeUserIdSet()}">
+                               Here goes your content.
+                       </ui:fragment>
 
-               <ui:define name="content" rendered="#{shareController.isShareeUserIdEmpty()}">
-                       <ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
+                       <ui:fragment rendered="#{shareController.isShareeUserIdEmpty()}">
+                               <ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
+                       </ui:fragment>
                </ui:define>
        </ui:composition>
 </html>
index a0b9c66444eae81a6d35db47778e44de7b53d9c7..fc0f120007aca8d3ee3a8bded2b3dc8e92d0c044 100644 (file)
                        #{msg.CONTENT_TITLE_INDEX_USER_PROFILE}
                </ui:define>
 
-               <ui:define name="content" rendered="#{shareController.isShareeUserIdSet()}">
-                       Here goes your content.
-               </ui:define>
+               <ui:define name="content">
+                       <ui:fragment rendered="#{shareController.isShareeUserIdSet()}">
+                               Here goes your content.
+                       </ui:fragment>
 
-               <ui:define name="content" rendered="#{shareController.isShareeUserIdEmpty()}">
-                       <ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
+                       <ui:fragment rendered="#{shareController.isShareeUserIdEmpty()}">
+                               <ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
+                       </ui:fragment>
                </ui:define>
        </ui:composition>
 </html>