]> git.mxchange.org Git - addressbook-war.git/commitdiff
don't set if empty!
authorRoland Haeder <roland@mxchange.org>
Fri, 23 Oct 2015 16:36:22 +0000 (18:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 23 Oct 2015 16:36:22 +0000 (18:36 +0200)
web/login/login_start_sharing_addressbook.xhtml

index d405ac8df1395d1fd943cff2873d424d369dd607..e1ddf43b56959b77c0094b3a0fcc6352083dc1ab 100644 (file)
@@ -24,7 +24,8 @@
                                        <h:outputText id="ownProfileInvisible" class="notice" value="#{msg.USER_NOT_LOGGED_IN}" rendered="#{not loginController.isUserLoggedIn()}" />
 
                                        <h:dataTable id="userList" headerClass="table_header_column" var="user" value="#{addressbookController.allUsersNotSharing()}" rendered="#{loginController.isUserLoggedIn() and not empty addressbookController.addressbook and not loginController.isInvisible()}">
-                                               <c:set value="#{user}" target="#{profileController}" property="user" />
+                                               <c:set value="#{user}" target="#{profileController}" property="user" rendered="#{not empty user}" />
+
                                                <h:column>
                                                        <f:facet name="header">#{msg.USER_ID}</f:facet>
                                                        <h:outputText value="#{user.userId}" />