From 73562b86271ef24b41eebe5b78c3083ebe11620b Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 20 Oct 2015 10:52:21 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20rewrote=20isProfileLinkVisible(?= =?utf8?q?)=20to=20not=20accept=20an=20instance=20and=20use=20the=20curren?= =?utf8?q?t=20(in=20bean=20set)=20instance=20instead=20-=20well,=20don't?= =?utf8?q?=20use=20c:bla=20in=20your=20JSF=20pages=20-=20updated=20jar(s)?= =?utf8?q?=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcontacts-lib.jar | Bin 660 -> 363 bytes .../profile/UserProfileWebRequestBean.java | 47 +++++++++------ .../UserProfileWebRequestController.java | 6 +- .../templates/generic/user_profile_link.tpl | 26 +++------ .../login_start_sharing_addressbook.xhtml | 55 ++++++++---------- 5 files changed, 64 insertions(+), 70 deletions(-) diff --git a/lib/jcontacts-lib.jar b/lib/jcontacts-lib.jar index 4bcab60630b0e9a2e35ba531a7fc870b20c03b36..811eebfffcb34d12c74b016b7ce39f88ce4471d9 100644 GIT binary patch delta 169 zcmbQj`kIM1z?+$ci-CcIf#E@D$V6TZo4cVQ?uSLv=cY3-Fo3WK5c;}?IO=-(x#{~l z`gyv!28ZbRx-l{cfaQTo;Pk{;V{sE+F6W}u#FEq$U8hPb1w%b^J%e~N^NAbec^R2R hnBjI!j$^doMX_x1Vn%HdRyL4<#H}cO)N=G(RHc>skhKGh&MCS&CDxFEy_#G(M>WiRM7A*N=(j4RdCKPD#$NN zECCv=$;-vdg>WIdXIOwP%r8pU$E|`Fsv@@{IU_MIJr$2qadf3w$@zIDiOD6!KuwHH zBFwl06sQvj1Q^~rf@pY{L4p^d6 - * @param user User instance + * Checks if the current user profile link is visible *

* @return Whether the profile link is visible */ - boolean isProfileLinkVisible (final User user); + boolean isProfileLinkVisible (); /** * Checks if the user profile link is visible diff --git a/web/WEB-INF/templates/generic/user_profile_link.tpl b/web/WEB-INF/templates/generic/user_profile_link.tpl index bef7fcd5..379c763e 100644 --- a/web/WEB-INF/templates/generic/user_profile_link.tpl +++ b/web/WEB-INF/templates/generic/user_profile_link.tpl @@ -3,24 +3,12 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://java.sun.com/jsf/facelets" - xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"> + xmlns:ui="http://java.sun.com/jsf/facelets"> - - - - - - - - - - - - - - - - + + + + + + diff --git a/web/login/login_start_sharing_addressbook.xhtml b/web/login/login_start_sharing_addressbook.xhtml index d9c930b2..6704fb30 100644 --- a/web/login/login_start_sharing_addressbook.xhtml +++ b/web/login/login_start_sharing_addressbook.xhtml @@ -22,36 +22,31 @@

- - - - - #{msg.USER_ID} - - - - - #{msg.USER_NAME} - - - - - - - #{msg.LOGIN_START_SHARING_TITLE} - - - - - - - - - - - - - + + + + #{msg.USER_ID} + + + + + #{msg.USER_NAME} + + + + + + + #{msg.LOGIN_START_SHARING_TITLE} + + + + + + + + +