]> git.mxchange.org Git - addressbook-war.git/commitdiff
more linking of profile and address book
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:49:16 +0000 (12:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:49:16 +0000 (12:49 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/login/login_shared_addressbooks.xhtml

index d3a9f549f639e76cd6c8864cd417442f44d28fb3..ed84ff920dddde521c4fad2fb1cef54a9ffb899a 100644 (file)
                                        <h:dataTable id="sharedAddressbooks" var="share" value="#{shareController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
                                                <h:column>
                                                        <f:facet name="header">#{msg.SHARED_ADDRESSBOOK}</f:facet>
-                                                       <h:outputText id="addressbookName" value="#{share.shareAddressbook.addressbookName}" title="#{msg.SHARED_ADDRESSBOOK_TITLE}" />
+
+                                                       <h:link outcome="login_show_addressbook" title="#{msg.LINK_LOGIN_SHOW_ADDRESS_BOOK_TITLE}">
+                                                               <f:param name="addressbook_id" value="#{addressbook.addressbookId}" />
+                                                               <h:outputText id="addressbookName" value="#{share.shareAddressbook.addressbookName}" title="#{msg.SHARED_ADDRESSBOOK_TITLE}" />
+                                                       </h:link>
                                                </h:column>
 
                                                <h:column>
                                                        <f:facet name="header">#{msg.SHAREE_USER_NAME}</f:facet>
-                                                       <h:outputText id="shareeUserName" value="#{share.shareUserSharee.userName}" title="#{msg.SHAREEE_USER_NAME_TITLE}" />
+                                                       <h:link outcome="user_profile" title="#{msg.LINK_USER_PROFILE_TITLE}">
+                                                               <h:outputText id="shareeUserName" value="#{share.shareUserSharee.userName}" title="#{msg.SHAREEE_USER_NAME_TITLE}" />
+                                                               <f:param name="userId" value="#{share.shareUserSharee.userId}" />
+                                                       </h:link>
                                                </h:column>
 
                                                <h:column>