Signed-off-by:Roland Häder <roland@mxchange.org>
*/
private SharedAddressbooksSessionBeanRemote shareBean;
-
/**
* User id of sharee
*/
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
* @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 ();
}
Here goes your content.
</ui:define>
- <ui:define name="content" rendered="#{shareController.isShareeUserIdSet() == false}">
+ <ui:define name="content" rendered="#{shareController.isShareeUserIdEmpty()}">
<ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
</ui:define>
</ui:composition>
Here goes your content.
</ui:define>
- <ui:define name="content" rendered="#{shareController.isShareeUserIdSet() == false}">
+ <ui:define name="content" rendered="#{shareController.isShareeUserIdEmpty()}">
<ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
</ui:define>
</ui:composition>