From e42a8be3870c6c1aabfad35afe5588e304a65b69 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 13:45:28 +0200 Subject: [PATCH] =?utf8?q?introduced=20isShareeUserIdEmpty()=20as=20EL=20c?= =?utf8?q?ode=20seems=20not=20to=20handle=20previous=20one=20Signed-off-by?= =?utf8?q?:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcoreee.jar | Bin 18716 -> 18794 bytes .../beans/shares/SharesWebBean.java | 6 +++++- .../beans/shares/SharesWebController.java | 6 ++++++ .../login_list_sharing_addressbooks.xhtml | 2 +- web/user/user_profile.xhtml | 2 +- 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 6ea5dee81a9fef485994cf2c6831b836dd543c7d..176cc9d7eceef50e5e7f37bd45f4b9cd4b310799 100644 GIT binary patch delta 1799 zcmZuyZA?>F7=BLM+uPpWwg?ox%12c|zA7II!WB^pEmaW^7_-i=0u|BHVku5#tkLYx zHj_n;$%1oZQ4ER6<{S~+oNi{>kL|~TG1>3=Z`qPf{4@8oARm<6^g5sSb(>DN?&gLy@g zV=mI(l2iZQqg)%1YvWV-t^3|qkcBp}v@7VqZUquLWppV}(JkXO3wmU{u3!&>GWN=N zLxBzZEZ8p$4#+rYMH&t%w1i~zD#$>ejD8tm8Hf3{Eyc4(3M{P95I)JUy7g%2M5sIx ziVl>wjSlsO>zW#z@$m7{!FafTS9oM3G!SO6 zcO^o7$99E=yF%SGRlcEky)ZhwE6u_**w2UOXeU~MLr71P{kmQsyK!S zL)vpHU5WT$bU?)rq6~S@_5Vwep~gQLj`X|7D#qP?p=dOgaQBAY!=d;{xZj8TKsw4t!<`3&a{ATIe zbVrx3$Je>NJ9yC7+1XBKI?f%XGkkj0{-leJn_)RUE3pDv3IPLF(ZeWZF0FY0$_W{v zR5A~Cg9HQIw3<^&H&&CZE*W4A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3W_ADgvLPR-dRUn=g@>@*!yF@|vlhhXWBfQsXoQjv*i2J7Ep+9&5mMn_IE?D|in zXQooG{j7Ul#SBi0#-bAaEat>kjWa$IuQ61Mo4R~)&tVnEYpX?K;%+fi91;&Q?y*zi zy0$77N^(UssaV|4^yH;bbs5s=--&eWAj|-ugGN7P0vpLJ;r69_b`c*>BfySql4?vh z&?tvSOxA|xWYOeb$uE(pu;{JZAzrsxGFXOYN=qpBs#?6Jt|M-Vu{6Un++x+{O#C*c zI`2YVMsc!P+^{)(E6i(VUW+7`pgO;R>NT&zM2f*{k^Xg>IcD={=5<&uqa-=ea2tG3 zubKM><1|&=vSk#sNzVq&auBOe7Y)3S>wL=h|~WkwX!TooD2ffDSYCzHjp;iNPa*qIFr zWuzv^gL`(UQgczREXI|?LkBFm3d&s{)2b*;TuiH`N*G|JZP(Hw@knL0RGm6-st;)6 zrY#Dpax`!>ax`%?bNCpCpHso4%IH-+Mh7wFPmsnD;0PM(|3Kpw#WnuVM7n3K6h4l& zXr;}CNY_!}CkYkeCMd@fFumCF)>PL|akA??u1Jwx=&H5BKp;~5wbTklw?Ee7-t@a9 z`6ZDAPy9X!%`F`gF0^z?_^u@);X%MALV;MDYYN)LYM|;Vdq_f4aIXXr9FXuRI3%H` zby&iut>Y4MLg)V7`)-5|N=ss!P4{t`$Z5!-{+c2pE=`Po i>r7kLzju{RLjFyZ{q}e5+(tb)`b2+wQv8Nb(tiQkib0tG diff --git a/src/java/org/mxchange/addressbook/beans/shares/SharesWebBean.java b/src/java/org/mxchange/addressbook/beans/shares/SharesWebBean.java index b75df50e..9041da43 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/SharesWebBean.java +++ b/src/java/org/mxchange/addressbook/beans/shares/SharesWebBean.java @@ -56,7 +56,6 @@ public class SharesWebBean implements SharesWebController { */ private SharedAddressbooksSessionBeanRemote shareBean; - /** * User id of sharee */ @@ -94,6 +93,11 @@ public class SharesWebBean implements SharesWebController { return ((this.getShareeUserId() instanceof Long) && (this.getShareeUserId() > 0)); } + @Override + public boolean isShareeUserIdEmpty () { + return (!this.isShareeUserIdSet()); + } + @Override public boolean isSharingAddressbooks () { // Only to be called for logged-in users diff --git a/src/java/org/mxchange/addressbook/beans/shares/SharesWebController.java b/src/java/org/mxchange/addressbook/beans/shares/SharesWebController.java index f7b90a52..3433c634 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/SharesWebController.java +++ b/src/java/org/mxchange/addressbook/beans/shares/SharesWebController.java @@ -52,4 +52,10 @@ public interface SharesWebController extends Serializable { * @return Whether the sharee's user id is set */ boolean isShareeUserIdSet (); + + /** + * Checks if the sharee's user id is empty. + * @return Whether the sharee's user id is empty. + */ + boolean isShareeUserIdEmpty (); } diff --git a/web/login/login_list_sharing_addressbooks.xhtml b/web/login/login_list_sharing_addressbooks.xhtml index 1f3be67b..c8649da8 100644 --- a/web/login/login_list_sharing_addressbooks.xhtml +++ b/web/login/login_list_sharing_addressbooks.xhtml @@ -24,7 +24,7 @@ Here goes your content. - + diff --git a/web/user/user_profile.xhtml b/web/user/user_profile.xhtml index 4fd73c13..a0b9c664 100644 --- a/web/user/user_profile.xhtml +++ b/web/user/user_profile.xhtml @@ -24,7 +24,7 @@ Here goes your content. - + -- 2.39.5